> Since 2.0.x Linux catches memory overcommits. See this code in mm/mmap.c:
Hmm, I've got a tiny static a.out program that tries to malloc as much as
it can; the only difference this seems to make is I can malloc a total
of only 2GB rather than 3GB. It still arrives in chunks of 32Mb or so.
It is a little odd though, it fails as soon as brk passes 2GB perhaps
there's a signed vs unsigned bug there somewhere. (V 2.0.29 btw)
> * stupid algorithm to decide if we have enough memory: while
Ah, I see ... :-)
-- Rob. (Robert de Bath <robert@mayday.cix.co.uk>)