Works but now I have 1 Gb usage in RegisterType.cpp
At least with gcc 4.6 it works (will check 4.5 later). But no notable difference in memory usage
I think I’ll have to do this.
Interesting - after I removed all but one template instantiations memory usage decreased but not significantly - to 0.75 Gb from 1 Gb.
This is what I got after running fully optimized build (Connection.cpp excluded)
CGameState 1.8 Gb (can be decreased to ~ 1.0 Gb - redundant registerType templates)
IGameCallback 1.2 Gb
CPregame 1.0 Gb
GuiClasses 0.8 Gb
CGameHandler 0.8 Gb
CMusicHandler - small memory usage but takes 2 minute to compile.