[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why does Linux crash?



On Wed, 2011-04-20 at 12:04 +0200, Axel Freyn wrote:

> But the principal problem is: each of those limits/protections reduces
> the usability (e.g. if you have 2GB Ram, and you limit eclipse to 2GB,
> it will be killed by the Kernel as soon as it tries to use 2GB and 1
> byte from the SWAP

Really?

I'd have thought eclipse's request for more memory (malloc) would just
fail at that point - which it may or may not handle appropriately, and
may handle by exiting. I see no reason for the kernel to kill it.

Richard



Reply to: