
4 May
2007
4 May
'07
9:37 a.m.
Adrian Hey
Failing because the stack has grown beyond some arbitrary (and typically small) size seems bad to me.
Just FYI, nhc98 has a single memory area in which the stack and heap grow towards each other. Memory exhaustion only happens when the stack and heap meet in the middle and GC fails to reclaim any space. However, it can only do this because it is single-threaded. As soon as you need a separate stack for each thread in a multi-threaded system, this nice one-dimensional model breaks down. Regards, Malcolm