My colleagues and I have tried to build a project containing several thousand classes , but we're getting a LNK1102 error ( Linker out of memory ) . I've seen several tips on the internet , such as increasing the virtual memory . We tried but this didn't help . We've also seen some as enabling different warning levels when compiling the code . A guy suggested enabling level 4 for warnings . How could that be done ? Are there other suggestions ?
I had this fatal error LNK1102: out of memory
error and solved it by using 64bits compiler and linker. You set an environment variable:
set PreferredToolArchitecture=x64
and then run Visual Studio.
I just had the same problem when compiling plain C:
"*LINK : fatal error LNK1102: out of memory*"
Solution for me was: delete all *.pdb (DEBUG) files around. After that, everything was linked without problems. So probably a pdb file was defect in my case - defect in a funny way to cause this linker error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With