GUI handler for out of memory situations
asked 2014-09-17 14:45:43 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
My Jolla got weird and started feeling sluggish few days ago. Camera and gallery had odd touch delays and gestures were hard to get right, even to close the apps and double tap to wake up.
On shell dmesg showed that RAM and swap were full and that kernel oom-killer was killing processes, but it seemed to be failing to free enough memory. My dmesg is available here: https://mcfrisk.kapsi.fi/temp/jolla_oom.txt
Maybe there are memory leaks and other bugs which will be sorted over time, but what really is missing is a user space GUI handler for the situation.
For example a notification to the user that "OOM has happened, sorry, but a reboot is necessary."
That would be fine for me as a stupid user right now. Later on that could be improved to for example kill less important jolla apps, like clock, notes or calendar which already saved their data somewhere and notifications will kick in even if app is not running.
Sorry to wake up such an old message: your URL refers to mml-maps and I wonder if you had halftrail installed and some Finnish topo-maps downloaded as png-files. It seems to me that gallery tries to scan through those files (some 16 MB piece) and gets OOM. I solved the problem by deleting the png-files after converting to mapx. So, the root cause is gallery leaking memory.
rsainio ( 2015-07-26 13:27:13 +0200 )edit@rsainio: Where does it store those huge PNGs ? Gallery should only show images harvested by tracker, which should not scan hidden folders. So maybe try to move them to a hidden folder (if possible) and see if it helps ?
MartinK ( 2015-07-26 15:04:47 +0200 )edit