LWN.net Logo

Still waiting for swap prefetch

Still waiting for swap prefetch

Posted Jul 28, 2007 3:43 UTC (Sat) by roelofs (guest, #2599)
In reply to: Still waiting for swap prefetch by Richard_J_Neill
Parent article: Still waiting for swap prefetch

Really, FF crashes on me about once a week, because although I have 2GB RAM and 6GB of swap, firefox manages to malloc() 4 GB!

Geez, what are you doing to the poor thing??

No idea where it is going - admittedly I tend to have about 200 tabs open, but that alone shouldn't be the problem.

OK, that might do it... I have two FF windows containing a total of 9 tabs, and it's been running since early March. Total memory usage (per ps(1)): 197M allocated, 157M resident. (Of course, there's also X11 pixmaps, as was noted in another LWN article a while back. I've forgotten how to check that, but even if FF were the sole X client--which it's not, by far--that's only another 194M allocated and 46M resident.)

Greg


(Log in to post comments)

Still waiting for swap prefetch

Posted Aug 1, 2007 2:23 UTC (Wed) by set (guest, #4788) [Link]

xrestop will show you the X memory usage, such as pixmaps.

Still waiting for swap prefetch

Posted Aug 1, 2007 16:43 UTC (Wed) by zlynx (subscriber, #2285) [Link]

One of these days someone needs to add the amount of CPU X spent per client to xrestop.

Still waiting for swap prefetch

Posted Aug 3, 2007 23:45 UTC (Fri) by roelofs (guest, #2599) [Link]

xrestop will show you the X memory usage, such as pixmaps.

Danke, sir! That's the command I couldn't recall.

Greg

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds