Very strange! One of my C++ programs bombs with a "virtual memory
exceeded" message, despite the fact that it never comes close to
exhausting RAM, much less going to the swap space (that's the virtual
memory, isn't it?) I'd surely hear some disk access sounds if the swap
space were coming into play.
Not if it tries to allocate sufficiently much in one chunk (by mistake
or otherwise), then the OS will just say no and your program will die
if it thinks it cannot live without having its request satisfied.
O_ ---- Peter Dalgaard
c/ /' --- Dept. of Biostatistics
( ) \( ) -- University of Copenhagen