[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [olpc-software] graceful handling of out-of-memory conditions
- From: Jim Gettys <jg laptop org>
- To: Mike Hearn <mike plan99 net>
- Cc: olpc-software redhat com
- Subject: Re: [olpc-software] graceful handling of out-of-memory conditions
- Date: Fri, 17 Mar 2006 07:00:10 -0500
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 redhat com
> https://www.redhat.com/mailman/listinfo/olpc-software
--
Jim Gettys
One Laptop Per Child
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]