View Single Post
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#49
I made topic in application area partly because of this issue:
[request] Memory usage tracker
But right now it's rather silent

So I might just write some stuff here regarding this issue and how I try to learn something. I hope that others find these links helpful and I also ask people with knowledge to comment how I can use these tools to track problems. For me system just slows gradually down and first symptons are that closing animation slows down and when I got email message or im message it completely halts system for 1-3 seconds before popup message.

So you have reported bug: items become totally non-responsive for no reason Bug conversation has couple of nive hints how to debug memory. Talk releated to bug (this thread) Hildon-Home being unresponsive

Things that might be reason(or part) of problem:

  • Size of images/icons in theme
  • Background image size (how you can disable images?)
  • Widgets
  • Especially 3rd party. Also official calendar widget might have some issues. But generally good advice is to disable all and see if it helps (might narrow problem but it's not solution).
  • Daemons (especially python related as said in comment 35)
  • Open browser window with flash or "heavy" js content (Same comment 35)
  • Other programs left open or on background? IM/VOIP/SIP Accounts?

Wiki - Memory issues entry has link to page: Wiki - Devtools where is different tools for debugging. For memory there seems to be at least three different packages: sp-memusage, smpas-measure, smaps-visualize
All of these packages include different scripts that are mentioned on their wiki page.

The "mem-monitor-smaps script" which is mentioned in bug stock answer means probably sp-memusage packages script with same name?

Installation of scripts is done with adding repository to catalogue list and using Terminal with "apt-get install <bin pkg name>" as root.

We have also tools: htop, top, conky, cpumem applet, free, ps, cat /proc/meminfo

This is just for myself as it try to learn stuff, but there is *hit load of stuff that can be done with scripts linked. How i can became master of these tools without going too deep. How to spot classic/easy memory leak? How to spot swaping issues etc. How to spot what process is exactly using too much memory. What is too much memory?

Last edited by slender; 2010-03-01 at 11:49.