Active Topics

 


Reply
Thread Tools
Posts: 43 | Thanked: 8 times | Joined on Jan 2008 @ Mexico City
#1
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.
 
sondjata's Avatar
Posts: 1,076 | Thanked: 176 times | Joined on Mar 2007
#2
What problems are you having with VM? I'm using it and haven't seen any problems.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#3
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.
 
Posts: 118 | Thanked: 26 times | Joined on Feb 2008
#4
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
 
Posts: 43 | Thanked: 8 times | Joined on Jan 2008 @ Mexico City
#5
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.
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#6
Originally Posted by angelb View Post
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.
Yes, that can happen when virtual memory is in use. Often just closing applications on the tablet will allow it to temporarily suspend use of VM so the card can be mounted via USB.
 

The Following User Says Thank You to sjgadsby For This Useful Post:
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#7
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.
 
Posts: 227 | Thanked: 53 times | Joined on Feb 2008 @ Lyon, France
#8
I have also noticed memory leaks. Here's the output of ps just before I had to reboot:
Code:
  PID  Uid        VSZ Stat Command
    1 root       1468 SW  init [2]
    2 root            SWN [ksoftirqd/0]
    3 root            SW  [watchdog/0]
    4 root            SW< [events/0]
    5 root            SW< [khelper]
    6 root            SW< [kthread]
   16 root            SW< [dvfs/0]
   67 root            SW< [kblockd/0]
   68 root            SW< [kseriod]
   81 root            SW< [OMAP McSPI/0]
   88 root            SW< [ksuspend_usbd]
   91 root            SW< [khubd]
  115 root            SW  [pdflush]
  116 root            SW  [pdflush]
  117 root            SW< [kswapd0]
  118 root            SW< [aio/0]
  121 root            SW< [mipid_esd]
  246 root            SW  [mtdblockd]
  287 root            SW< [kondemand/0]
  288 root            SW< [kmmcd]
  300 root            SW< [krfcommd]
  315 root            SW< [mmcqd]
  347 root       1112 SW< dsme -d -l syslog -v 4 -p /usr/lib/dsme/libstartup.so
  355 root        776 SW  /usr/bin/bme_RX-44
  357 root        564 SW  /usr/sbin/kicker
  385 root            SW< [cx3110x]
  405 root            SWN [jffs2_gcd_mtd4]
  434 root       1576 SW< /sbin/udevd --daemon
  633 messagebus   3852 SW< /usr/bin/dbus-daemon --system
  663 haldaemon   3968 SW  /usr/sbin/hald
  670 root       2800 SW  hald-runner
  693 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  704 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  705 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  706 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  713 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  714 root       2436 SW  /usr/lib/hal/hald-addon-omap-gpio
  723 root       2940 SW  hald-addon-input: Listening on /dev/input/event2 /dev
  736 root       2436 SW  /usr/lib/hal/hald-addon-mmc
  737 root       2436 SW  /usr/lib/hal/hald-addon-mmc
  742 root       2952 SW  /usr/lib/hal/hald-addon-cpufreq
  763 root       4372 SW  /usr/bin/httpd -k start
  764 daemon     4504 SW  /usr/bin/httpd -k start
  765 daemon     4504 SW  /usr/bin/httpd -k start
  770 root       2500 SW  /usr/sbin/ntpd
  771 _ntpd      2352 SW  /usr/sbin/ntpd
  776 daemon     4504 SW  /usr/bin/httpd -k start
  777 daemon     4504 SW  /usr/bin/httpd -k start
  778 daemon     4504 SW  /usr/bin/httpd -k start
  783 root       3176 SW  /usr/sbin/sshd
  790 root       3636 SW< /sbin/mce --force-syslog
  792 messagebus   3324 SW  /usr/lib/gconf2/gconfd-2
  796 root      50876 SW< /usr/bin/Xomap -mouse tslib -nozap -dpi 96 -wr -nolis
  823 user       1444 SW< /usr/sbin/temp-reaper
  826 user       2048 SW< /usr/bin/dbus-daemon --session
  830 user       7224 SW< /usr/lib/sapwood/sapwood-server
  834 user       6524 SW< /usr/bin/matchbox-window-manager -theme echo -use_tit
  842 root            SW< [dsp/0]
  845 root            SW< [dsp/0]
  848 root       3668 SW  /usr/sbin/dsp_dld -p --disable-restart -c /lib/dsp/ds
  854 root       2792 SW< /usr/bin/bme-dbus-proxy -N
  909 root       4804 SW  /usr/sbin/multimediad
  918 root       2272 SW< /usr/bin/esd
  967 root            SW< [file-storage-ga]
  971 haldaemon   2508 SW  hald-addon-usb-cable: listening on /sys/devices/plat
  979 root       7852 SW< /usr/sbin/ke-recv
  997 user      19088 SW< /usr/bin/maemo-launcher --daemon --send-app-died --bo
 1026 user       1448 SW< /usr/bin/hildon-input-method
 1027 user      28464 SW< /usr/bin/hildon-input-method
 1031 user       3916 SW< /usr/bin/clipboard-manager
 1075 user       1448 SW< /usr/bin/hildon-desktop
 1076 user      35088 SW< /usr/bin/hildon-desktop
 1082 nobody     1812 SW< /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
 1085 root       2132 SW  /usr/sbin/gpsdriver
 1092 root       2520 SW< /usr/sbin/hcid -n -x -s
 1095 root       2452 SW< /usr/lib/bluetooth/bluetoothd-service-audio
 1096 root       2412 SW< /usr/lib/bluetooth/bluetoothd-service-input
 1102 root       2924 SW< /usr/bin/btcond -l
 1105 root       3580 SW< /usr/sbin/wlancond
 1114 root       3204 SW< /usr/sbin/icd
 1158 user       1448 SW< /usr/bin/osso-connectivity-ui-conndlgs
 1159 user      28416 SW< /usr/bin/osso-connectivity-ui-conndlgs
 1168 root            SW< [kjournald]
 1169 user      42944 SW< /usr/bin/osso-media-server
 1190 systemui  24224 SW< /usr/bin/systemui
 1194 user       3192 SW< /usr/bin/obexsrv -l
 1214 user       5300 SW  /usr/bin/alarmd
 1247 root       5084 SW< /usr/sbin/hulda
 1248 root       3036 SW< /usr/sbin/hulda
 1268 user      16100 SW  /usr/bin/mediaplayer-engine
 1274 user      16684 SWN /usr/bin/metalayer-crawler -F
 1289 user      43052 SW  /usr/libexec/gnome-vfs-daemon
 1839 daemon     4504 SW  /usr/bin/httpd -k start
 1840 daemon     4504 SW  /usr/bin/httpd -k start
 1841 daemon     4504 SW  /usr/bin/httpd -k start
 1842 daemon     4504 SW  /usr/bin/httpd -k start
12377 user       1448 SW  /usr/bin/osso-xterm
12378 user      22372 SW  /usr/bin/osso-xterm
12379 user       6704 SW  zsh -l
12501 user       1448 SW  /usr/bin/osso_notes
12502 user      27820 SW  /usr/bin/osso_notes
12503 user       1964 RW  ps
In particular, Xomap is taking much more memory than just after a reboot (50876 KB instead of 11404 KB).
 
Posts: 43 | Thanked: 8 times | Joined on Jan 2008 @ Mexico City
#9
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.
 
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#10
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.
 

The Following User Says Thank You to fiferboy For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:49.