I've posted that to vc.language group, but now I see it's an issue even in
64-bit
VS2005 64-bit target, C/C++
A lot of DLLs (about 2500) compiled just from the command line like this:
cl /LDd progname.c
The main program compiled under VS2005 and options for all C++ compile:
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm /EHsc /RTC1 /MTd
/Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /nologo /c /Wp64 /Zi /TP
/errorReport:prompt
link
/OUT:"Debug/app.exe" /INCREMENTAL /NOLOGO /MANIFEST
/MANIFESTFILE:"Debug\app.exe.intermediate.manifest"
/DEBUG /PDB:"Debug/app.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86
/ERRORREPORT:PROMPT wsock32.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
So it's a console application
After loading of 146 DLLs the LoadLibrary starting to give error 1114.
The total size of the app in memory at this moment is less than 64M and it's
a lot of resources on computer (WinXP x64 2G RAM etc)
Any limits ?
Any limitaions of virtual mapping ???
Any ideas where to look ?
Regards,
Sergey