Huge use of RAM Topic is solved
Moderator: Basilisk-Dev
-
- Hobby Astronomer
- Posts: 25
- Joined: 2018-09-08, 18:02
Huge use of RAM
Basilisk 2021-1-5 uses A LOT of RAM even after the tabs were closed (for some reason all browsers based on firefox including firefox itself do this)
Re: Huge use of RAM
How long has your session been and what types of sites have you been to? What have you been doing? How long has it been since you closed the last tab?
-
- Pale Moon guru
- Posts: 35638
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Huge use of RAM
1 GB is not strange for a modern browser visiting current heavy websites.
Also, understand that immediately after closing tabs, memory will not instantly reduce because of the various caching mechanisms in play and the fact that JS memory needs to be garbage-collected.
Also, understand that immediately after closing tabs, memory will not instantly reduce because of the various caching mechanisms in play and the fact that JS memory needs to be garbage-collected.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Keeps coming back
- Posts: 784
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: Huge use of RAM
Ah, so that's why memory doesn't immediately reduce after I close a tab.
Does that also explain why when I close a tab, memory temporarily spikes up then goes down after a few seconds? This usually happens when I close a Facebook or YouTube tab after browsing there for a long time.
merry mimas
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817
-
- Pale Moon guru
- Posts: 35638
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Huge use of RAM
When visiting those sites? yes, that's expected. It will most likely trigger a run which basically moves memory to a fresh block to get rid of fragmentation, that temporarily increases memory use.jobbautista9 wrote: ↑2021-02-03, 08:10Does that also explain why when I close a tab, memory temporarily spikes up then goes down after a few seconds?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Huge use of RAM
Now there is a known but unsolved issue of some sites, mostly google/youtube/github/twitter that can cause a pile up of ghost windows leading to eventual memory usage that won't ever be released or may take even longer before it gets forced out of memory but after a few days you can just close and reopen the application.
I don't normally do anything about it unless it starts impacting performance. Also, hasn't been that severe imo since early 2019.
I don't normally do anything about it unless it starts impacting performance. Also, hasn't been that severe imo since early 2019.
-
- Hobby Astronomer
- Posts: 25
- Joined: 2018-09-08, 18:02
Re: Huge use of RAM
I see, thanks for the explanation Moonchild, although surely is strange to see the RAM so high, some time ago something like this would be unthinkable.Also, understand that immediately after closing tabs, memory will not instantly reduce because of the various caching mechanisms in play and the fact that JS memory needs to be garbage-collected.
-
- Pale Moon guru
- Posts: 35638
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Huge use of RAM
Some time ago we also didn't have games taking 50GB of disk space or requiring 8 cores to run smooth.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Knows the dark side
- Posts: 4981
- Joined: 2015-12-09, 15:45
Re: Huge use of RAM
Off-topic:
Difference being those games also have massive improvements in graphics and physics to go with the increased resource usage, as compared to websites that have bloated beyond belief while stripping away and dumbing down features for 'simple' mobile interfaces.
Difference being those games also have massive improvements in graphics and physics to go with the increased resource usage, as compared to websites that have bloated beyond belief while stripping away and dumbing down features for 'simple' mobile interfaces.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
-
- Pale Moon guru
- Posts: 35638
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Huge use of RAM
Off-topic:
Whether sites are being wasteful (a la making a pixel-graphics game in the Unreal engine or what not -- plenty of such things exist so don't just polarize this as games good vs. web bad) or not is besides the point.
Excuse me, but web browsers are very much akin to 3D games.
Whether sites are being wasteful (a la making a pixel-graphics game in the Unreal engine or what not -- plenty of such things exist so don't just polarize this as games good vs. web bad) or not is besides the point.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Knows the dark side
- Posts: 4981
- Joined: 2015-12-09, 15:45
Re: Huge use of RAM
Off-topic:
Never disputed that, was pointing out that the games at least give you visual bang for the buck as a tradeoff, modern bloated websites are often worse and less featured than their older versions from a decade ago. I'd even say the modern browser is forced to be like this thanks to feature creep in HTML/Javascript 'living' standards in a bid to use them to replace every other possible application as opposed to rendering documents with a little interactivity.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX