maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   OS2008 Open-File Dialog Screwed Up (https://talk.maemo.org/showthread.php?t=20227)

fms 2008-05-19 19:49

OS2008 Open-File Dialog Screwed Up
 
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 2008-05-19 21:34

Re: OS2008 Open-File Dialog Screwed Up
 
Try using the gtk one, should be working. Not very finger-friendly though :)

yerga 2008-05-19 21:47

Re: OS2008 Open-File Dialog Screwed Up
 
a discussion was raised in the mailing list about this topic some time ago: http://lists.maemo.org/pipermail//ma...ry/014513.html

fms 2008-05-20 09:37

Re: OS2008 Open-File Dialog Screwed Up
 
Quote:

Originally Posted by yerga (Post 183422)
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 2008-05-20 12:00

Re: OS2008 Open-File Dialog Screwed Up
 
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.

fms 2008-05-20 18:40

Re: OS2008 Open-File Dialog Screwed Up
 
Quote:

Originally Posted by yerga (Post 183609)
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 2008-05-20 19:01

Re: OS2008 Open-File Dialog Screwed Up
 
My guess is that the file dialog uses that much or less memory at one time to index the subdirectories... Probably with several threads.

joepagiii 2008-05-20 20:08

Re: OS2008 Open-File Dialog Screwed Up
 
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...


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

vBulletin® Version 3.8.8