node-packer
node-packer copied to clipboard
compiler is out of heap space
Precondition: Windows 7 32-bit, available 2320 MB from 3400 MB. node v7.9.0, mksquashfs v4.3, Visual Studio 2015,
Example coffeescript project finished failed: "sample\enclose_io_memfs.c(166117): fatal error C1060: compiler is out of heap space"
Please try using a bigger Virtual Memory, as in
Paging File set fixed size: 4990 MB, as recommended
@mikowiec Restarting the computer also helps.
@mikowiec I forgot to mention, that using x64 toolchain could also help eliminate this problem. Microsoft x64 cl.exe (or even x64_x86 cross tool-chain) will not throw this error when x86 tools throw, based on my experiments.
https://github.com/pmq20/node-packer/issues/83#issuecomment-344610424 看这个答案