linker out of memory LNK1102 linker out of memory LNK1102 windows windows

linker out of memory LNK1102


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.


Project (right click) → Properties → Configuration Properties → Linker → Optimization → References → change to Keep Unreferenced Data

Worked on my machine!


If the project is too large, then split it up into several components.

This might also help with maintenance.