[olpc-software] graceful handling of out-of-memory conditions

Jim Gettys jg at laptop.org
Fri Mar 17 12:00:10 UTC 2006


Mike,

I recommend some use of iPAQ's or Nokia's before you jump to the
conclusion that people will use a single program at a time.
		Regards,
			- Jim


On Fri, 2006-03-17 at 11:35 +0000, Mike Hearn wrote:
> Unless the user is an extreme multi-tasker (unlikely in only 128mb of
> memory) there would only ever be one application on that list - the one
> they're running. Every other process would be an internal system detail
> and not make sense to expose to the user.
> 
> I think the best that can be done here is both hardening programs that
> are likely to run out (eg firefox) against malloc() == NULL and to warn
> the user when they're running out of memory so they aren't entirely
> surprised when things start crashing.
> 
> And as to the OOM killers behaviour - why does it not just kill whatever
> is using the most memory at the time? I never understood that though
> there must be a good reason.
> 
> On Fri, 2006-03-17 at 11:23 +0530, Joshua N Pritikin wrote:
> > Jim wants to the window manager to decide policy on out-of-memory
> > conditions. 
> 
> --
> olpc-software mailing list
> olpc-software at redhat.com
> https://www.redhat.com/mailman/listinfo/olpc-software
-- 
Jim Gettys
One Laptop Per Child





More information about the olpc-software mailing list