Problem solved...

ANOQ of the Sun
Mon, 05 Jun 2000 00:57:09 +0200

ANOQ of the Sun wrote:
> I've added a message at every VirtualAlloc and VirtualFree.
> It seems to fail after the messages:
> Shrinking stack to size 262144
> unable to VirtualFree memory at 5ef0000

Just a thought - maybe VirtualAlloc and VirtualFree
cannot handle the large "gap" between the stack
and the heap?