![]() | |||||||||||||
Messages in this thread |
On 20 Feb 1997, Andi Kleen wrote: > 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>) | ||||||||||||
| Last update: 2005-03-22 13:39 [W:0.966 / U:0.070 seconds] ©2003-2008 Jasper Spaans | |||||||||||||