On Wed, Dec 21, 2011 at 8:51 PM, Bernie Innocenti <[email protected]> wrote:
> Anyway, closing an activity automatically when memory is short would
> still be preferable to the current behavior of trashing the VM until the
> OOM kicks in.

That's exactly the point :-)

>> A quick hack would be to limit the number of activities that can run
>> simultaneously.
>
> I agree. How about 4? Seems sufficient for most productive workloads.

I think we should look at the output of vmstat or read the smaps and
take a decision based on that. Different units have different memory;
some programs are memory hogs, or can become so if you open large
documents.




m
-- 
 [email protected] -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to