Browser periodically freezes and unfreezes
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
Well, don't know what to say. My Pale Moon is currently open a long time with plenty of history, about 20 active tabs, and CPU usage is minimal.
So, it's hard for me to try and figure out what's going on if I can't reproduce it.
So, it's hard for me to try and figure out what's going on if I can't reproduce it.
You do not have the required permissions to view the files attached to this post.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
Massacre
- Fanatic

- Posts: 173
- Joined: 2020-05-01, 13:16
Re: Browser periodically freezes and unfreezes
Don't try to open anything that uses "modern" JS in Pale Moon and you will be fine. That includes X, Facebook, VK...
Would be great if that JS engine could be enhanced with safeguards for preventing infinite GC loops or what is the exact problem with it.
Would be great if that JS engine could be enhanced with safeguards for preventing infinite GC loops or what is the exact problem with it.
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
You mean "avoid data-scraping and ads+telemetry-laden social media"
That might be a good idea anyway?
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
Massacre
- Fanatic

- Posts: 173
- Joined: 2020-05-01, 13:16
Re: Browser periodically freezes and unfreezes
Indeed. But it also includes *.fandom.com (manageable but takes a hit on RAM and CPU), new reddit (could lead to complete UI unresponsibility), youtube and twitch (it's better to use some Chromium instead - lots of Google-specific JS).
BTW, I'm using Ublock Origin, so it's not ads, its site's JS core.
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
yeah I don't frequent fandom or reddit, but I do go to twitch and (with the vorapis userscript) youtube. and I don't really see major issues other than them being as slow as expected.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
Gemmaugr
- Lunatic

- Posts: 283
- Joined: 2025-02-03, 07:55
Re: Browser periodically freezes and unfreezes
I sadly have to frequent Fandom because they bought up almost all game wiki's. Unfortunately, the frontend https://breezewiki.pussthecat.org/ isn't the easiest to use. I use eMatrix and uBO, with chrome://ublock0/content/asset-viewer.html?url=https://gist.githubusercontent.com/Craf ... Fandom.txt
I use youtube having added:
www.youtube.com##ytd-reel-shelf-rendere ... tyle-scope
www.youtube.com###items > ytd-reel-shelf-renderer.ytd-structured-description-content-renderer.style-scope
www.youtube.com##.ytp-cards-teaser
www.youtube.com###fulfilled-layout > .ytd-ad-slot-renderer.style-scope
www.youtube.com###donation-shelf
To uBO's My Filters. I don't find it overly slow (though it does happen, and a quick bookmark all sites, close all tabs, and restart makes it like new. Can happen after 5 or 50 vids though).
I use reddit with a GreaseMonkey script that I've edited:
When voting or viewing polls, I just change old.reddit to sh.reddit
I don't use twitch or vk or FB.
I view X with a GreaseMonkey script:
Or another instance of your choosing: https://github.com/zedeus/nitter/wiki/Instances
I use youtube having added:
www.youtube.com##ytd-reel-shelf-rendere ... tyle-scope
www.youtube.com###items > ytd-reel-shelf-renderer.ytd-structured-description-content-renderer.style-scope
www.youtube.com##.ytp-cards-teaser
www.youtube.com###fulfilled-layout > .ytd-ad-slot-renderer.style-scope
www.youtube.com###donation-shelf
To uBO's My Filters. I don't find it overly slow (though it does happen, and a quick bookmark all sites, close all tabs, and restart makes it like new. Can happen after 5 or 50 vids though).
I use reddit with a GreaseMonkey script that I've edited:
Code: Select all
// ==UserScript==
// @name Good old Reddit
// @description Good old Reddit.
// @version 1.0
// @match *://www.reddit.com/*
// @exclude https://*.reddit.com/poll/*
// @exclude https://*.reddit.com/gallery/*
// @exclude https://*.reddit.com/media*
// @exclude https://*.reddit.com/notifications
// @exclude https://chat.reddit.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
if ( window.location.host != "old.reddit.com" ) {
var oldReddit = window.location.protocol + "//" + "old.reddit.com" + window.location.pathname + window.location.search + window.location.hash;
window.location.replace (oldReddit);
}I don't use twitch or vk or FB.
I view X with a GreaseMonkey script:
Code: Select all
// ==UserScript==
// @name Nitter Redirect
// @description Always redirects to nitter
// @include *://twitter.com/*
// @include *://x.com/*
// @version 1.03
// @run-at document-start
// @grant none
// ==/UserScript==
window.location.replace("https://twiiit.com" + window.location.pathname + window.location.search);-
moonbat
- Knows the dark side

- Posts: 5689
- Joined: 2015-12-09, 15:45
Re: Browser periodically freezes and unfreezes
Would be good if you could edit your comment and add code tags around the script to make it more readable and easier for others to copy and use. I use URL Rewriter for this and a few other redirects.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net

KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Jabber: moonbat@hot-chili.net
-
Sessh
- Fanatic

- Posts: 247
- Joined: 2018-01-11, 18:43
Re: Browser periodically freezes and unfreezes
Well, at least it's not just me. Are the other folks here having this issue also on Windows 7 or is it happening on other OS'es as well?
I grabbed the GreaseMonkey PrivateRedirector script which includes Nitter stuffs. Viewing X through that is fine, no issues. X is the only site I've noticed so far that has the issue in my case. Youtube doesn't, it's as clunky as it's ever been, but it doesn't cause issues once the tab is closed aside from RAM creeping. I have 17-18 tabs open.
Did someone say to get memory info or something when the issue is happening? Tell me how and I'll do it. Is it just about:memory > Measure & Save > Upload saved file?
Then again, maybe that wouldn't be helpful since it's a CPU-usage issue.
I grabbed the GreaseMonkey PrivateRedirector script which includes Nitter stuffs. Viewing X through that is fine, no issues. X is the only site I've noticed so far that has the issue in my case. Youtube doesn't, it's as clunky as it's ever been, but it doesn't cause issues once the tab is closed aside from RAM creeping. I have 17-18 tabs open.
Did someone say to get memory info or something when the issue is happening? Tell me how and I'll do it. Is it just about:memory > Measure & Save > Upload saved file?
Then again, maybe that wouldn't be helpful since it's a CPU-usage issue.
-
hitokage
- Fanatic

- Posts: 104
- Joined: 2014-05-03, 02:19
- Location: Frederick, MD
Re: Browser periodically freezes and unfreezes
I've also been experiencing this since installing 33.9.0 and 33.9.0.1 (both x64) on Windows 7 (x64), but I haven't been able to spend much time troubleshooting or gathering any information. I do wonder if it is somehow being caused by one or more of the newly implemented CSS functions - especially with how extensively CSS is used on the same websites that also heavily use JavaScript.
The more they overthink the plumbing, the easier it is to stop up the drain - Scotty (Star Trek III)
To be clear this quote is not directed at Pale Moon, but a lot of other things in general.
To be clear this quote is not directed at Pale Moon, but a lot of other things in general.
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
Quite possible. There are a few regressions noted with the new implementations and I may have to end up backing out several of the new implementations if they can't be easily solved in the short term.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
geraldh
- Apollo supporter

- Posts: 39
- Joined: 2022-06-18, 16:19
- Location: Citizen of Europe
Re: Browser periodically freezes and unfreezes
I've noticed that Ebay in particular has become a problem with 33.9.0 and 33.9.0.1. It's fast initially, but scrolling through listings becomes progressively slower with noticeable pauses. This didn't really happen with the previous builds. I've also noticed that the RSS (Resident Set Size?) in my Linux Mint 22 Task Manager can get to over 2GB on Ebay with only that tab open. This RSS figure doesn't seem to reduce, even when I leave Ebay and switch my single tab to a simpler website, e.g. Startpage.com.
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
I just gave it a test and other than the spiky CPU usage because of everything and the kitchen sink being async on ebay (and loading everything at the very last second as you scroll down) I didn't see any out of bounds memory usage or long pauses there.
That is at least somewhat expected. cached data will not be tossed from memory immediately upon closing a tab. The browser keeps memory allocated for a considerable time and won't compact its memory blocks until the browser has been truly idle for a while (because it's expensive to do). Even decoded images won't be tossed immediately.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
Gemmaugr
- Lunatic

- Posts: 283
- Joined: 2025-02-03, 07:55
Re: Browser periodically freezes and unfreezes
I tried, but it seems the time-frame for that have already passed. So here's a stripped down version to not take up more space.
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
I've dropped in the code tags in the original, for convenience.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
UCyborg
- Astronaut

- Posts: 541
- Joined: 2019-01-10, 09:37
- Location: Slovenia
Re: Browser periodically freezes and unfreezes
After some more time using the browser, I can't say I'm positive about anything changing regarding freezing with recent updates compared to old versions. But my memory is more on the unreliable side.
Early signs of dementia?
-
Kand_in_Sky
- Fanatic

- Posts: 141
- Joined: 2013-01-02, 18:22
- Location: DE
Re: Browser periodically freezes and unfreezes
After one time visting x.com (twitter) i could reproduce the behavior with freezes/unfreezes, this behavior stays even when the tab is closed.
Restarting PM makes everything ok.
Restarting PM makes everything ok.
PaleMoon & Basilisk installed on
- 2014 i5-4210M Notebook 8GB Win7 64Bit
- 2014 Athlon 5350 16GB PC Win7 64Bit
- 2018 Ryzen 5 2400G 32GB PC Win10 64Bit
- 2014 i5-4210M Notebook 8GB Win7 64Bit
- 2014 Athlon 5350 16GB PC Win7 64Bit
- 2018 Ryzen 5 2400G 32GB PC Win10 64Bit
-
MrD2018
- Apollo supporter

- Posts: 42
- Joined: 2018-07-03, 15:32
- Location: United Kingdom
Re: Browser periodically freezes and unfreezes
Would it be possible to have the JS garbage collector timeout after a certain number of tries at clearing up the javascript from a particular problematic website rather than continuing indefinately?
-
Moonchild
- Pale Moon guru

- Posts: 38404
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Browser periodically freezes and unfreezes
It's not that simple. Spidermonkey's back-end doesn't isolate front-end tabs that way. While theoretically possible to spin up separate js runtimes for each tab, that isn't very practical nor performant, and would have additional drawbacks. Not even sure how web workers could be handled in that context, for example.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"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
-
flamelord
- Moonbather

- Posts: 68
- Joined: 2025-01-31, 03:03
-
erichtex
- Newbie

- Posts: 5
- Joined: 2025-10-07, 18:34
Re: Browser periodically freezes and unfreezes
I have also been having this problem. It started when I loaded the latest update. I had deliberately not loaded the update during a weekend when I used PM extensively. The following Monday, I did the update (33.9.0.1) and problems with the UI freezing started. It does get worse the longer you run a web page.
The site I have been having a problem with is wikitree.com. It certainly does not use "modern" JS. Problems include freezes while scrolling, using radio buttons and other UI interactions. I have not yet monitored the processor load while working this. There was no freezing before the update.
The site I have been having a problem with is wikitree.com. It certainly does not use "modern" JS. Problems include freezes while scrolling, using radio buttons and other UI interactions. I have not yet monitored the processor load while working this. There was no freezing before the update.