Re: Web-browser memory consumption on OS2008

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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:
pid=<PID>;
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;
done

"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

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux