[maemo-developers] Hibernation of applications during ptrace
From: Eero Tamminen eero.tamminen at nokia.comDate: Tue Sep 25 19:52:13 EEST 2007
- Previous message: Hibernation of applications during ptrace
- Next message: Making my app. appear on the Navigator menu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Philip Van Hoof wrote: >> Desktop kills only applications that have announced themselves to be >> killable. Application should do that only when they've saved state, >> are in the background (i.e. not interacting with the user) and able >> to restore the state when restarted. I.e. it would be a problem in >> the application I think. > > Interesting, how would this work? I don't think our application is ever > setting itself in this state, so I wonder why this hibernation key is > created? :-\ Either HildonProgram or HildonWindow had function for setting this. >> And desktop does this only when it's notified that the device is low >> on memory. So, close extra applications and if that doesn't help, >> add swap. You might also try using gdbserver as Gdb can take quite >> a lot of memory. > > This also happens in Scratchbox running on a desktop with 2GB of ram. The desktop hibernation (background killing) should not happen in Sbox unless you manually send the corresponding D-BUS message telling of the low memory condition. (I'm not really related to hildon-desktop so I could be wrong about these, but this is how I've understood/noticed things to work.) - Eero
- Previous message: Hibernation of applications during ptrace
- Next message: Making my app. appear on the Navigator menu
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]