Virtual memory range for PCH exceeded on MSVC
Issue #408
resolved
This error blocks compile on my windows machine (Visual Stdio 2015).
- Wondering any other windows user see this?
- Just add suggested command line option to fix?
1>c1xx : error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm295' or greater
1>c1xx : fatal error C1076: compiler limit: internal heap limit reached; use /Zm to specify a higher limit
Comments (6)
-
reporter -
reporter - edited description
-
It works nice with VS2017... so, what about?
if(MSVC_VERSION LESS 1910) # older thanVS2017 ...
-
PR would be nice :-)
-
reporter Fix by pull-request 346
-
- changed status to resolved
Fixed by PR #346
- Log in to comment
add suggested flags by
does fix my problem. @dellaert if you like this option I can create a pull request.