<p dir="auto">[Enter steps to reproduce below:]</p>
<p dir="auto">1.Put some music and devellopers file on a folder<br>
2. Open the folder with atom<br>
3. clic on a music and it will crash atom because atom try to read it.</p>
<p dir="auto"><strong>Atom Version</strong>: 0.170.0<br>
<strong>System</strong>: Unknown Windows Version<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught Error: Atom can only handle files &lt; 2MB for now.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360

Error: Atom can only handle files &lt; 2MB for now.
  at Project.module.exports.Project.buildBuffer (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360:15)
  at Project.module.exports.Project.bufferForPath (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:337:63)
  at Project.module.exports.Project.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:291:19)
  at Workspace.module.exports.Workspace.openUriInPane (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:487:29)
  at Workspace.module.exports.Workspace.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:414:19)
  at Ipc.&lt;anonymous&gt; (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\window-event-handler.js:45:32)
  at Ipc.emit (events.js:110:17)
  at process.&lt;anonymous&gt; (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\atom\renderer\api\lib\ipc.js:22:29)
  at process.emit (events.js:118:17)
"><pre class="notranslate"><code class="notranslate">At c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360

Error: Atom can only handle files &lt; 2MB for now.
  at Project.module.exports.Project.buildBuffer (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:360:15)
  at Project.module.exports.Project.bufferForPath (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:337:63)
  at Project.module.exports.Project.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\project.js:291:19)
  at Workspace.module.exports.Workspace.openUriInPane (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:487:29)
  at Workspace.module.exports.Workspace.open (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\workspace.js:414:19)
  at Ipc.&lt;anonymous&gt; (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\app\src\window-event-handler.js:45:32)
  at Ipc.emit (events.js:110:17)
  at process.&lt;anonymous&gt; (c:\Users\maissani\AppData\Local\atom\app-0.170.0\resources\atom\renderer\api\lib\ipc.js:22:29)
  at process.emit (events.js:118:17)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<h3 dir="auto">Config</h3>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;core&quot;: {
    &quot;themes&quot;: [
      &quot;atom-dark-ui&quot;,
      &quot;base16-tomorrow-dark-theme&quot;
    ]
  },
  &quot;editor&quot;: {
    &quot;invisibles&quot;: {}
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {
    <span class="pl-ent">"themes"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>atom-dark-ui<span class="pl-pds">"</span></span>,
      <span class="pl-s"><span class="pl-pds">"</span>base16-tomorrow-dark-theme<span class="pl-pds">"</span></span>
    ]
  },
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"invisibles"</span>: {}
  }
}</pre></div>
<h3 dir="auto">Installed Packages</h3>
<div class="highlight highlight-source-coffee notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# User
No installed packages

# Dev
No dev packages"><pre class="notranslate"><span class="pl-c"><span class="pl-c">#</span> User</span>
<span class="pl-en">No</span> <span class="pl-en">installed</span> packages

<span class="pl-c"><span class="pl-c">#</span> Dev</span>
<span class="pl-en">No</span> <span class="pl-en">dev</span> packages</pre></div>
<p dir="auto">So, I use my text editor for all kinds of things (writing code, reading readmes, editing dotfiles, etc). One of the things I do most often during any given day is open up large log files to troubleshoot Enterprise problems. These files can sometimes get as large as 500-800MB.</p>
<p dir="auto">I just tried viewing a 350MB log file and Atom locked up immediately -- the file selector didn't change and the entire window went completely white 4 seconds after I tried viewing the file. I could still close the top level window, but we should still have better handling for this kind of thing.</p>
<p dir="auto">Sublime Text 2 took about 55 seconds to open the file, but gave a nice progress indicator while it was loading:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/402a77c9e676b55fa95c38e26e4345d76be5e51f1cb9b2e2790d94de0ce90c00/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3234342f3139303337392f63306162633237652d376565352d313165322d386563342d3432303563646565306164302e706e67"><img src="https://camo.githubusercontent.com/402a77c9e676b55fa95c38e26e4345d76be5e51f1cb9b2e2790d94de0ce90c00/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f3234342f3139303337392f63306162633237652d376565352d313165322d386563342d3432303563646565306164302e706e67" alt="Screen Shot 2013-02-24 at 4 50 56 PM" data-canonical-src="https://f.cloud.github.com/assets/244/190379/c0abc27e-7ee5-11e2-8ec4-4205cdee0ad0.png" style="max-width: 100%;"></a></p>
<p dir="auto">Once it loaded it was as responsive as any other file I load (scrolled fast, normal text highlight performance, etc). It would be nice if we set this as a baseline for expected behavior (progress bar + responsive after loading).</p>