[maemo-users] Web-browser memory consumption on OS2008

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed Apr 16 16:34:22 EEST 2008

ext Tony Green wrote:
> Has anybody else noticed that the web browser seems to take an awful lot of 
> memory up on OS2008?
> Running "top" shows the browser process usually using more than 85% of memory, 
> frequently well over 90%.
> Not that I've any idea what it used on OS2007, as I don't think I ever looked. 
> But it seems rather excessive - any suggestions as to how to reduce the 
> footprint? As I'm using the browser to display  pages from the on-board 
> Apache server, built from the on-board MySQL database, I must be swapping an 
> awful lot...

Browser doesn't use all the memory that's virtually allocated to it.
A bit more realistic figure you get with:
for type in Private_Dirty Private_Clean Shared_Dirty; do
   awk "/$type/ {sum += \$2}
        END { printf(\"$type:\t%6d kB\n\", sum) }
       " < /proc/$pid/smaps;

"Dirty" is memory that has been written into i.e. it needs to be swapped
out if there's not enough memory (instead being just discarded and being
paged back from root file system if/when needed).

	- Eero

More information about the maemo-users mailing list