firefox / Xorg memory usage / swap
Hi,
sometimes when I have many tabs open in firefox (10-15 or so) the
system begins to swap and become virtually unresponsive. If I'm quick I
can kill firefox.
Below is a snapshot from top while swapping. As you can see Xorg is the
heavy Mem-consumer.
My questions;
1) why does Xorg consume much memory when I surf with many tabs? (I
would have expected the firefox-process to increase more.)
2) How can i prevent this from happening? (switch of swap? warning
before swapping begins?)
Cpu(s): 0.8%us, 12.8%sy, 0.0%ni, 0.0%id, 85.4%wa, 1.0%hi, 0.0%si,
0.0%st
Mem: 483252k total, 478364k used, 4888k free, 96k
buffers
Swap: 0k total, 0k used, 0k free, 6568k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23097 david 17 0 23444 2164 792 D 3.1 0.4 5:54.96 gkrellm
22993 root 6 -10 446m 373m 528 D 2.6 79.1 71:35.06 Xorg
153 root 10 -5 0 0 0 D 2.4 0.0 0:54.74 kswapd0
17554 david 26 10 168m 55m 1516 S 2.4 11.8 12:28.85
firefox-bin
26230 david 16 0 2232 500 240 R 1.0 0.1 0:04.19 top
system; EPIA PD6000e, 2.6.18, SID, 512mb ram, firefox 2 from
mozilla.org (same was happening in "debian-FF" 1.5)
regards, David.
Reply to: