title: Build Time Error - FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
body: <p>My Angular universal project which is quite big in size and even it gets bigger as it goes.</p>
  
  <p>It was configured with <strong>nodesize as 8096 (which is the solution given in most of the similar questions)</strong> which was working upto yesterday, then we added some more modules into our project that breaks the application and gets the heap memory issue back. So we tried increasing the <strong>max_old_space_size to 12286</strong>, changed the <strong>node version to 12.16.1(latest)</strong> but nothing works. </p>
  
  <p>Build Command</p>
  
  <pre><code>node --max_old_space_size=12288 ./node_modules/@angular/cli/bin/ng build --prod &amp;&amp; ng run server
  </code></pre>
  
  <p>And also I see there are lot of <strong>similar questions</strong> asked in stackoverflow in which many users suggested to use either 4096 or max 8092 but <strong>we are going beyond already</strong>. 
  So I have following questions, </p>
  
  <blockquote>
    <p>What will happen if we keep the max_old_space_size at max(say some
    20gb) ?</p>
    
    <p>Is there any other solution apart from increasing the node_size like
    changing the architecture of the project ?</p>
  </blockquote>
  
  <p>As of now, My project is not working.</p>
  
  <p>Please throw some light on it. </p>
  
  <p>Thanks for your time. (:</p>