[Sugar-devel] Killing activities when memory gets short

Martin Langhoff martin.langhoff at gmail.com
Sun Aug 8 09:15:41 EDT 2010


On Sun, Aug 8, 2010 at 4:01 AM, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
> I tihnk I have been sloppy with my words, so let me clarify two things:
>
> - killing processes should be done only to avoid OOM (because
> currently the kernel kills the wrong thing most of the time).

Can't we just _close it nicely_?

I have extremely rarely seen a Sugar app not closing. Sugar shell can
decide it's a good idea to close an activity because too many are open
and system is under memory pressure.

Sugar apps auto-save, so closing nicely should work very nicely...

cheers,



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Sugar-devel mailing list