<p dir="auto">[Enter steps to reproduce below:]</p>
<ol dir="auto">
<li>I opened a very large (591.0 MB (591,032,444 bytes)) JSON file.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 1.0.0<br>
<strong>System</strong>: Ubuntu 15.04<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught RangeError: Invalid string length</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301

RangeError: Invalid string length
  at Array.join (native)
  at ReadStream.&lt;anonymous&gt; (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301:43)
  at emitNone (events.js:72:20)
  at ReadStream.emit (events.js:163:7)
  at _stream_readable.js:891:16
  at process._tickCallback (node.js:357:13)
"><pre class="notranslate"><code class="notranslate">At /usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301

RangeError: Invalid string length
  at Array.join (native)
  at ReadStream.&lt;anonymous&gt; (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301:43)
  at emitNone (events.js:72:20)
  at ReadStream.emit (events.js:163:7)
  at _stream_readable.js:891:16
  at process._tickCallback (node.js:357:13)

</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="     -8:52 editor:select-line (atom-text-editor.editor.is-focused)
     -8:49.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
 22x -8:04.1.0 pane:show-next-item (atom-text-editor.editor.is-focused)
  2x -6:26 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -6:20.3.0 release-notes:show (atom-text-editor.editor.is-focused)
 41x -0:16.5.0 core:close (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate">     -8:52 editor:select-line (atom-text-editor.editor.is-focused)
     -8:49.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
 22x -8:04.1.0 pane:show-next-item (atom-text-editor.editor.is-focused)
  2x -6:26 pane:show-previous-item (atom-text-editor.editor.is-focused)
     -6:20.3.0 release-notes:show (atom-text-editor.editor.is-focused)
 41x -0:16.5.0 core:close (atom-text-editor.editor.is-focused)
</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;editor&quot;: {
    &quot;invisibles&quot;: {},
    &quot;fontSize&quot;: 10,
    &quot;tabLength&quot;: 4,
    &quot;showInvisibles&quot;: true
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {},
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"fontSize"</span>: <span class="pl-c1">10</span>,
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</span>,
    <span class="pl-ent">"showInvisibles"</span>: <span class="pl-c1">true</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">To reproduce:</p>
<ol dir="auto">
<li><code class="notranslate">dd if=/dev/zero of=largefile count=1 bs=1000M</code>; if this does not reproduce play around with adjusting <code class="notranslate">bs</code> and <code class="notranslate">count</code>.</li>
<li>Open atom and try to open <code class="notranslate">largefile</code>.</li>
</ol>
<p dir="auto"><strong>Atom Version</strong>: 0.208.0<br>
<strong>System</strong>: Ubuntu 15.04<br>
<strong>Thrown From</strong>: Atom Core</p>
<h3 dir="auto">Stack Trace</h3>
<p dir="auto">Uncaught RangeError: Invalid string length</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="At /usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301

RangeError: Invalid string length
    at Array.join (native)
    at ReadStream.&lt;anonymous&gt; (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301:43)
    at emitNone (events.js:72:20)
    at ReadStream.emit (events.js:163:7)
    at _stream_readable.js:891:16
    at process._tickCallback (node.js:357:13)"><pre class="notranslate"><code class="notranslate">At /usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301

RangeError: Invalid string length
    at Array.join (native)
    at ReadStream.&lt;anonymous&gt; (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:301:43)
    at emitNone (events.js:72:20)
    at ReadStream.emit (events.js:163:7)
    at _stream_readable.js:891:16
    at process._tickCallback (node.js:357:13)
</code></pre></div>
<h3 dir="auto">Commands</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="  2x -3:24.1.0 release-notes:show (atom-text-editor.editor.is-focused)"><pre class="notranslate"><code class="notranslate">  2x -3:24.1.0 release-notes:show (atom-text-editor.editor.is-focused)
</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;editor&quot;: {
    &quot;invisibles&quot;: {},
    &quot;tabLength&quot;: 4
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"core"</span>: {},
  <span class="pl-ent">"editor"</span>: {
    <span class="pl-ent">"invisibles"</span>: {},
    <span class="pl-ent">"tabLength"</span>: <span class="pl-c1">4</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>