-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010-04-15 02:59, Adam Tauno Williams wrote:
On Thu, 2010-04-15 at 02:08 +0200, Carlos E. R. wrote:
The thing is that you close all the tabs but one and it still uses that much memory.
Yes, and no. The definition of "uses" is important. In UNIX pages typically are not recovered from an application unless there is memory pressure; doing so is just a waste of effort. A long running process will be as large as it is as the largest point - it is a feature, not a bug. Within the process those pages can be recycled.
You have to exit (with save tabs) and start it again: hey, now mine uses about 600 megs instead of 900 as before. A lot of that gigabyte was unused memory holes.
Exactly, and if the systems needs the 'space' occupied by those holes it can throw them out to swap.
As far as the system is concerned, it is memory claimed to being used by the process. If the system needs memory, it may swap-out the process, and later, when the process get swapped back in it probably will not try to access the holes and these remain in swap. Still, those memory "holes" remain "officially" in use by the process. Otherwise, that RAM is not available to the system, which is a waste (it can be half a gigabyte). This I can notice in my old PC, which has only 1 GB. If I suspend to disk everything get swapped out; later things run faster because a fair amount of memory remains swaped out and thus there is more ram available, as shown by "top". As Firefox is used for days it runs slower and slower; in fact the entire system runs sluggish, trashing, till I close and restart Firefox. In my new system with "lots" of ram this is not noticed. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAkvGtQcACgkQja8UbcUWM1xKDQD/Y78MwTrupANhgDaCtl/5sj/B 1eZrfYiwDzJfmUjy2YQA/2f3pDZh5PUx0brvS+P+NzTHOr9k5Xb75ptVDCWn6B0Q =m9+N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org