title: MSVC gives up on template heavy code with "fatal error C1060: compiler is out of heap space"
body: <p>I am trying to compile some relatively template heavy code with MSVC (2010), and it eventually quits with <code>fatal error C1060: compiler is out of heap space</code>.</p>
  
  <p>The whole thing is just one translation unit, and, in comparsion, gcc handles it quite easily (inside a VM, with significantly fewer resources).</p>
  
  <p>Any hints what to look for? Are there any relevant compiler options?</p>