News for hackers. Stuff that matters.
Re:Swap, swap, swap, and bad places to work by icebraining on Friday August 09, 2019 @04:25AM (#20652291)
> IMO the real solution, given that we overcommit, is for firefox to check that % RAM usage

Doesn't it to that already? I remember 3-4 years ago I use to watch in amazement how people complained that Firefox ate over 2GBs of memory, whereas I ran it on a laptop with 2GB total, and FF rarely hit 1G even with dozens of tabs open.

EDIT: Mozillazine seems to confirm my experience: "These numbers will vary because Firefox is configured by default to use more memory on systems that have more memory available and less on systems with less" (http://kb.mozillazine.org/Reducing_memory_usage_-_Firefox)

Re:Swap, swap, swap, and bad places to work by szatkus on Friday August 09, 2019 @06:37AM (#20653023)
This is annoying on Android. System normally would kill (or suspend or whatever Android exactly does in those circumstances) other applications if Firefox ate too much of memory. And I would be happy with that, but unfortunately under memory pressure Firefox kills less important tabs. With memory hog in the backgrounds (these wonderful mobile games) I can jump between maybe 2 or 3 tabs before Firefox starts killing.