title: VS2019 fatal error C1083: Cannot open compiler intermediate file: xxxx.ipdb: Not enough space
body: <p>I'm using VS2019 to build 32-bit release.</p>
  
  <pre><code>1&gt;------ Build started: Project: modulesLib, Configuration: Release Win32 ------
  1&gt;   Creating library ..\..\GeneratedFiles\Release32\\modulesLib.lib and object ..\..\GeneratedFiles\Release32\\modulesLib.exp
  1&gt;Generating code
  1&gt;Previous IOBJ not found, fall back to full compilation.
  1&gt;\modules\stdafx.h.cpp : fatal error C1083: Cannot open compiler intermediate file: '..\..\GeneratedFiles\Release32\\modulesLib.ipdb': Not enough space
  1&gt;LINK : fatal error LNK1257: code generation failed
  1&gt;Done building project "modulesLib.vcxproj" -- FAILED.
  ========== Build: 0 succeeded, 1 failed, 8 up-to-date, 0 skipped ==========
  </code></pre>
  
  <p>I already found that removing /GL option temporary solved it but this is not the solution.</p>
  
  <p>I have a lot of free space on system drive as same as drive where compilation occurs. I have 32GB RAM, 64-bit Win10.</p>
  
  <p>Is there any solution? Thanks</p>
  
  <p>Edit: Based on the next observations although C1083 is compiler error the reason is that 32-bit linker is running out of memory (reaches 3GB and than process crashed). I believe I saw somewhere that it's possible to use 64-bit toolset to generate 32-bit apps. But I can't find it now.</p>