title: Cannot create a string longer than 0x1fffffe8 characters in JSON.parse?
body: <p>I have JSON file which has json data of size 914MB. I loading the file with <code>fs-extra</code> and parsing it. But when i parse it get error as</p>
  <blockquote>
  <p>cannot create a string longer than 0x1fffffe8 characters</p>
  </blockquote>
  <p>Below is code</p>
  <pre><code>        const fs = require('fs-extra');
          const rawdata = fs.readFileSync('src/raw.json');
          const data = JSON.parse(rawdata);
  </code></pre>
  <p>I am running the project with <code>npm</code> and to run i have below command in <code>package.json</code>.</p>
  <pre><code>&quot;scripts&quot;: {
     
      &quot;start:dev&quot;: &quot;cross-env NODE_OPTIONS='--max-old-space-size=4096' ts-node -r tsconfig-paths/register ./src --env=development&quot;,
    
    }
  </code></pre>