![]() |
Memory consumption in OS2008
I have a N800 running OS2008, latest release and I have noticed something a bit odd. Since I got my N800 I installed load-applet written by J Pavelek (version 0.8.2-2) to monitor CPU load and available memory and have seen that after some time of use, the available memory starts to decrease and after a while, even if no apps are running, you have just the bare minimum of memory free.
On my first real wireless session I was on a Starbucks running Skype, Pidgin, Wordpy and the Web Browser while listening to music on the Media Player. All running reasonably fast. A dream come true! After a few days I noticed that I could run less and less apps before I got the "Low memory" warning. Getting to the point that seeing a single webpage with only one YouTube video embedded could trigger the warning. Only rebooting solved the problem, and before the new OS2008 release it really wasn't an option. Seems some applications leave processes running or stranded temp files. The usual culprits are Evince, Media Player and the Web Browser. But even Maemopad or some other lightweight apps can contribute to this. Is there anything that can be done to avoid this? I tried activating the virtual memory option but it created far more problems than it solved. I looked around in the control settings but found nothing that might help. I have the feeling it is one of the bugs one has to live with if you use a IT right now. Other than that, I am a very happy N800 user :) If you have found a way to work around this, share your hard-earned wisdom, please. |
Re: Memory consumption in OS2008
What problems are you having with VM? I'm using it and haven't seen any problems.
|
Re: Memory consumption in OS2008
Could it be that the load applet is leaking?
My N810 with OS 2008 is rebooted only very rarely since OS 2008 is very stable, and I didn't run into such problems so far. |
Re: Memory consumption in OS2008
I haven't had such extreme problems, but I've also started thinking that some OS components are leaking memory. I have SWAP enabled so I haven't actually run out of memory, but after not having it rebooted for a while, things starting to slow down (which I attribute to SWAP trashing). Rebooting usually speeds things up again. Unfortunately, "top" is reporting completely inflated memory usage for most processes (150% memory usage? Plus a couple of other processes at 80%? shouldn't really be possible. Clearly shared memory is not being accounted right), so it's hard to find out which process is leaking.
Martin |
Re: Memory consumption in OS2008
Sondjata:
I had some problems with the USB connection when using VM. I couldn't load or save anything in the cards via the PC. I got an error saying the card was in use. Had to disable VM and reboot. After that everything went well. Have not used it again since then. |
Re: Memory consumption in OS2008
Quote:
|
Re: Memory consumption in OS2008
one of either load-applet or osso-statusbar-cpu reports memory hogs; that might be worth a try.
I run both, and haven't noticed any memory leak, so I don't think it's either of those causing your problem. |
Re: Memory consumption in OS2008
I have also noticed memory leaks. Here's the output of ps just before I had to reboot:
Code:
PID Uid VSZ Stat Command |
Re: Memory consumption in OS2008
After a long time I found the source of the problem: apparently the "Large Status Bar Clock" has a memory leak that eventually consumes the available memory and somehow obstructs other applications from cleaning the memory they have used.
I removed the application from the taskbar a couple of weeks ago and the memory usage as reported by Load-Applet has been constantly lower, remaining at just one out of four squares for weeks when idle. Previously after 5-6 days it would show three squares being used, just by running idle. Applications are used and after being closed clean the memory, returning to one-square readings. I haven't had to reboot the Tablet to clean the memory, something that I had to do several times in the past, particularly before seeing YouTube videos or other large websites, or when trying to run several applications at the same time. It is unfortunate as it was a very useful app, but I will try to use the newest version and see if the problem has been solved. |
Re: Memory consumption in OS2008
angelb: You stated you were using version 0.0.2-1. This is an extremely old version! This version definitely has memory leaks, and increased CPU usage to boot! Please upgrade to version 0.7-5 and your memory and CPU consumption should decrease considerably.
|
Re: Memory consumption in OS2008
Quote:
|
| All times are GMT. The time now is 16:28. |
vBulletin® Version 3.8.8