Active Topics

 


Reply
Thread Tools
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#1
A few users reported that some of my programs show 100+MB virtual memory footprints in "top". While "top" is known as a fairly unreliable tool, 100+MB VSZ still looked unnatural. So, I investigated and here is what I found:

It is Maemo File-Open dialog. You can run pretty much ANY program using it, run "top" in a separate ssh. Then invoke that dialog and see program's virtual memory size grow to 100+MB. You don't need to actually open a file, just click Cancel - the dialog will disappear but the VSZ will stay above 100MB.

Whoever feels like filing a bug with Nokia, please do it. I am tired and generally can't bring myself to doing it.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#2
Try using the gtk one, should be working. Not very finger-friendly though
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#3
a discussion was raised in the mailing list about this topic some time ago: http://lists.maemo.org/pipermail//ma...ry/014513.html
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#4
Originally Posted by yerga View Post
a discussion was raised in the mailing list about this topic some time ago: http://lists.maemo.org/pipermail//ma...ry/014513.html
No answers to his question though
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#5
The answer is: it's not real memory so you don't should worry about it.

What is shown if you run this?
awk '/Private_Dirty/{sum+=$2}END{print sum "kB"}' /proc/(here PID of your app)/smaps

It's the memory what should worry you.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 

The Following User Says Thank You to yerga For This Useful Post:
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#6
Originally Posted by yerga View Post
The answer is: it's not real memory so you don't should worry about it.
I know that it is not the real footprint. But still, it is not normal for the file open dialog to request that much memory, even potentially.
 
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#7
My guess is that the file dialog uses that much or less memory at one time to index the subdirectories... Probably with several threads.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2008-05-20 at 19:18.
 
joepagiii's Avatar
Posts: 449 | Thanked: 51 times | Joined on Apr 2008 @ eastern north carolina usa
#8
well im not too sure but mine spikes whene it sees local drives and bluetooth drives sometimes i wish i had a reset on this thing...kinda like pdas...
__________________
no longer here...leave me a pm......meeep....
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:32.