Frequently, when using up all available RAM (512 MB) and half the swapfile (1 GB), through opening many window tabs in Firefox (eg >80), other apps frequently get very sluggish in responding. Even after closing down many of the apps shown as using significant portions of memory by the "top" utility, the swap file is still showing as being half full.
Invariably, memory usage of X is shown at a relatively high percentage (eg 40%), even after Firefox has been closed down.
A simple action like transferring to another virtual window (in XFCE4), may take a few seconds due to intense disk activity, presumably swapfile, even when there aren't (m)any apps open. The same thing happens when trying to open relatively light on memory apps such as Sylpheed. Even after not touching the system for several hours, simple actions are abnormally slow.
The solution is to restart X and everything is fine again.
Sometimes turning the swapfile of and on cures the problem, but obviously this only works if there is enough available RAM.
Is there anything I can do to prevent this sluggish behaviour and reclaim "lost" memory without resetting X?
Wow 80+ tab!!! The max I've ever open is +-70 tab when I view a lot of porn picture
About your problem I think it is a bug in firefox (opening more than 80+ tab)?
I have been having a swap problem recently too. My swap become full and renders the system unusable. I have to Ctrl-Alt-Backspace and restart X. I have no idea how to track down the culprit if it is a memory leak. I usually have firefox, gaim and amarok running, but I think firefox may be the problem.
X never seems to go past 15% (of 384 megs) for me...
Are you using compositing or something?
lots of chat re firefox and alleged memory hogging here
maybe you need 80 tabs open to read all the replies tho
Look, I just came back off holiday and there are 498 post since my last visit.
80 tabs just doesn't cut the mustard
Come to think of it, 24 hours isn't enough either...
In answer to the previous queries, its 33 tabs per page, and no I'm not using compositing.
I also had this problem in firefox, I'd often open up 70+ tabs when viewing sites like 4chan not only did it use a hell of lot of memory, switching beetween tabs was horribly slow. However since I switched to galeon I don't have that problem anymore, perhaps you should try it. (I think it's better anyway)
70 tabs? Not 7? :shock:
(I haven't found firefox to be slow even with 10 tabs open, but 70 is a bit much I'd say. :? )