3 ms·
It's my understanding that this won't work exactly as you'd expect under Linux. If you try to allocate more memory than is available, Linux can return a non-NU
by jcl 17y ago
It's my understanding that this won't work exactly as you'd expect under Linux. If you try to allocate more memory than is available, Linux can return a non-NULL pointer and hope that you don't try to use it:
http://alanreviewblog.blogspot.com/2009/02/turning-off-over-commit-in-linux-kernel.html http://alanreviewblog.blogspot.com/2009/02/turning-off-over-...