We need your help!
Operating the Pale Moon servers, sites, domains, and getting certificates, code signing and more isn't free (or cheap).
Unfortunately there has been a pretty sharp downward trend in what DuckDuckGo's search partnership provides to the project, so now more than ever, we rely heavily on your generous contributions and donations.
If you find Pale Moon in any way useful, please consider one or more of the following options to help out:
Doing so will go a long way to make sure we can stay afloat and independent! In addition, Moonchild would still like to pay rent and eat
Operating the Pale Moon servers, sites, domains, and getting certificates, code signing and more isn't free (or cheap).
Unfortunately there has been a pretty sharp downward trend in what DuckDuckGo's search partnership provides to the project, so now more than ever, we rely heavily on your generous contributions and donations.
If you find Pale Moon in any way useful, please consider one or more of the following options to help out:
- Donating to the project directly through PayPal or Ko-fi.
- Purchasing challenge coins.
- Setting your search engine to the included DuckDuckGo and disabling your ad blocker on the DuckDuckGo domain (so they can show sponsored results).
Doing so will go a long way to make sure we can stay afloat and independent! In addition, Moonchild would still like to pay rent and eat

Palemoon becoming more sluggish as the day progesses? Topic is solved
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!
Palemoon becoming more sluggish as the day progesses?
Hi!
For some time now I've had the issue that when I start my computer and Pale Moon in the morning it's fast and responsive as it should be, but throughout the day it gets more and more sluggish and unresponsive, and it will sometimes freeze for up to 20 seconds and then becoming somewhat usable again. No other program behaves like this so I think it's a Pale Moon issue. Simply closing the browser and opening it again does not fix it, but turning the computer off entirely and then back on again will make it behave normally. Am I the only one with this issue?
I'm happy to provide any information that may be of help but I'm not sure what causes it so if there's any info you need just ask and I'll provide it. I'm running the 64-bit version on Windows 10 64-bit.
For some time now I've had the issue that when I start my computer and Pale Moon in the morning it's fast and responsive as it should be, but throughout the day it gets more and more sluggish and unresponsive, and it will sometimes freeze for up to 20 seconds and then becoming somewhat usable again. No other program behaves like this so I think it's a Pale Moon issue. Simply closing the browser and opening it again does not fix it, but turning the computer off entirely and then back on again will make it behave normally. Am I the only one with this issue?
I'm happy to provide any information that may be of help but I'm not sure what causes it so if there's any info you need just ask and I'll provide it. I'm running the 64-bit version on Windows 10 64-bit.
Re: Palemoon becoming more sluggish as the day progesses?
Not seeing any of those issues on W7:
Re: Palemoon becoming more sluggish as the day progesses?
I was getting similar problems before I decided to switch back to ver. 27 at least temporarily.
Maybe it has to do with the garbage collection issues detailed here.
viewtopic.php?f=3&t=20843
Maybe it has to do with the garbage collection issues detailed here.
viewtopic.php?f=3&t=20843
Re: Palemoon becoming more sluggish as the day progesses?
Yes, this is probably just another thread about the same bug:
viewtopic.php?f=3&t=20573
viewtopic.php?f=3&t=20843
viewtopic.php?f=3&t=20573
viewtopic.php?f=3&t=20843
Re: Palemoon becoming more sluggish as the day progesses?
I do use Gmail and also use an extension that periodically checks for new mail. In my experience the redesign of Gmail has always been running sluggishly on Pale Moon, so that might be the cause.Hmm81 wrote:I was getting similar problems before I decided to switch back to ver. 27 at least temporarily.
Maybe it has to do with the garbage collection issues detailed here.
viewtopic.php?f=3&t=20843
I did not find any mention of settings that can be tweaked to mitigate the issue. Did I just miss it or is there one? I'm willing to tinker around with settings to find something that resolves the issue.
Re: Palemoon becoming more sluggish as the day progesses?
Use a portable version of PM for Gmail and the problem will most likely be gone.
And disable the Gmail notifier if it also causes trouble.
And you are right, the problem has not been solved (yet).
And disable the Gmail notifier if it also causes trouble.
And you are right, the problem has not been solved (yet).
Last edited by PalleP on 2018-11-15, 20:47, edited 1 time in total.
Re: Palemoon becoming more sluggish as the day progesses?
Are there hidden settings related to garbage collection that could "fix" it? I would really prefer not to have to use multiple browsers.PalleP wrote:Use a portable version of PM for Gmail and the problem will most likely be gone.
And disable the Gmail notifier if it also causes trouble.
And you are right, the problem has not been solved (yet).
Can I turn garbage collection off? I do mind the cpu-spikes it causes, but I wouidn't mind if Pale Moon used a bit more RAM. I have 16GB so in all honestly I'd be perfectly fine if PM used a lot more RAM than it does.
Re: Palemoon becoming more sluggish as the day progesses?
There is no "fix" for these things, only tradeoffs.Ozzed wrote:Are there hidden settings related to garbage collection that could "fix" it? I would really prefer not to have to use multiple browsers.PalleP wrote:Use a portable version of PM for Gmail and the problem will most likely be gone.
And disable the Gmail notifier if it also causes trouble.
And you are right, the problem has not been solved (yet).
Can I turn garbage collection off? I do mind the cpu-spikes it causes, but I wouidn't mind if Pale Moon used a bit more RAM. I have 16GB so in all honestly I'd be perfectly fine if PM used a lot more RAM than it does.
That said, if you don't mind more ram usage, you can tweak the following prefs:
javascript.options.mem.gc_compacting -> false
javascript.options.mem.gc_generational -> false
javascript.options.mem.gc_allocation_threshold_mb -> 1000
javascript.options.mem.gc_max_empty_chunk_count -> 250
javascript.options.mem.gc_min_empty_chunk_count -> 50
javascript.options.mem.high_water_mark -> 512
Optionally (YMMV):
javascript.options.mem.gc_per_zone -> false
javascript.options.mem.gc_refresh_frame_slices_enabled -> false
YMMV and experimentation recommended with some different settings to see what works better for you.
"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: Palemoon becoming more sluggish as the day progesses?
Thank you so much!Moonchild wrote:There is no "fix" for these things, only tradeoffs.Ozzed wrote:Are there hidden settings related to garbage collection that could "fix" it? I would really prefer not to have to use multiple browsers.PalleP wrote:Use a portable version of PM for Gmail and the problem will most likely be gone.
And disable the Gmail notifier if it also causes trouble.
And you are right, the problem has not been solved (yet).
Can I turn garbage collection off? I do mind the cpu-spikes it causes, but I wouidn't mind if Pale Moon used a bit more RAM. I have 16GB so in all honestly I'd be perfectly fine if PM used a lot more RAM than it does.
That said, if you don't mind more ram usage, you can tweak the following prefs:
javascript.options.mem.gc_compacting -> false
javascript.options.mem.gc_generational -> false
javascript.options.mem.gc_allocation_threshold_mb -> 1000
javascript.options.mem.gc_max_empty_chunk_count -> 250
javascript.options.mem.gc_min_empty_chunk_count -> 50
javascript.options.mem.high_water_mark -> 512
Optionally (YMMV):
javascript.options.mem.gc_per_zone -> false
javascript.options.mem.gc_refresh_frame_slices_enabled -> false
YMMV and experimentation recommended with some different settings to see what works better for you.

If I understand correctly, the tradeoff you're talking about is that RAM useage will be higher (or is there more to it?) but the benefit will be that I will see less CPU useage.
Again, thank you very much for actually providing a workaround for me. I'm far too used to the "you're holding it wrong" attitude.
Re: Palemoon becoming more sluggish as the day progesses?
There's more to it than that. This will postpone garbage collection until more has piled up. so it will do more in one go (and incremental GC means that that should be spread out to interfere less). The bottom line is that the same amount of garbage will still need to be collected, so this will still require approximately the same overall CPU time, but it may be able to do so more efficiently.Ozzed wrote:If I understand correctly, the tradeoff you're talking about is that RAM useage will be higher (or is there more to it?) but the benefit will be that I will see less CPU useage.
There are no guarantees here. a lot depends also on what needs to be GCed, how fragmented it all is, if things are leaked in an uncollectable state or not, etc.
"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: Palemoon becoming more sluggish as the day progesses?
Is this the case with the Gmail ghost window?Moonchild wrote: things are leaked in an uncollectable state
Re: Palemoon becoming more sluggish as the day progesses?
I have now had Pale Moon running since early this morning and I'm not seeing any stalls, and memory usage is about the same. I think I'd have to have it running for a few more days to know for sure but so far it seems very promisingMoonchild wrote:There's more to it than that. This will postpone garbage collection until more has piled up. so it will do more in one go (and incremental GC means that that should be spread out to interfere less). The bottom line is that the same amount of garbage will still need to be collected, so this will still require approximately the same overall CPU time, but it may be able to do so more efficiently.Ozzed wrote:If I understand correctly, the tradeoff you're talking about is that RAM useage will be higher (or is there more to it?) but the benefit will be that I will see less CPU useage.
There are no guarantees here. a lot depends also on what needs to be GCed, how fragmented it all is, if things are leaked in an uncollectable state or not, etc.

Re: Palemoon becoming more sluggish as the day progesses?
Okay, I'll try applying that fix then; at this point, I thought that browsers slowing down during the day were a law of life that you couldn't avoid 

Re: Palemoon becoming more sluggish as the day progesses?
Instead of all these workarounds, you could use a simple and 100% effective methode, that is what I did and it works...
Replace Gmail with Posteo
Replace Gmail with Posteo

Re: Palemoon becoming more sluggish as the day progesses?
Ozzed, if you have the time to do so and this set of changes fixes it, can you see if you can narrow down which of the setting changes is the biggest contributor to solving these issues for you? That way I can research if there is any improvement possible by default for everyone. Start with gc.compacting and gc.generational.
"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
-
- Astronaut
- Posts: 626
- Joined: 2014-09-01, 15:11
- Location: Milan Italy
Re: Palemoon becoming more sluggish as the day progesses?
In the past (both before I moved to PM 28 and recently with PM 28), I noticed that the browser (under Linux) seemed to go somehow slower after some time (I tend to keep some 20-25 tabs in two windows open, and a browser session active for several days). Also the CPU load and sometimes memory load in perfmeter or top seemed to remain higher even when idle. Well, all this ceased recently when (as suggested by somebody in another thread) I disabled the IDCAC (I Dont Care About Cookies) addon and replaced it with the IDCAC filter in Adblock Latitude.
The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. (G.B. Shaw)
Re: Palemoon becoming more sluggish as the day progesses?
I can do that, I'll be happy to assistMoonchild wrote:Ozzed, if you have the time to do so and this set of changes fixes it, can you see if you can narrow down which of the setting changes is the biggest contributor to solving these issues for you? That way I can research if there is any improvement possible by default for everyone. Start with gc.compacting and gc.generational.

Today marks my second full day with the browser and I'm still not seeing slowdowns, cpu utilization is still less, and memory useage is about the same. And I've had gmail opened several times throughout the day.
I'll report back with findings when I start to use only the gc.compacting and gc.generational settings.
Re: Palemoon becoming more sluggish as the day progesses?
I have now had the chance to test for a few full days (with all the tweaks enabled except the ymmv ones) and it appears that the situation is somewhat improved but not fully.
My experience is that during the beginning of the day, the browser is mostly fully responsive, though with some minor stalls and "microstutter" in the scrolling, but as the day progresses, the situation worsens with scrolling being smooth but the browsers coming to a complete stop every 3 seconds (scrolling completely stalls, then resumes to being smooth again for 3 seconds, then stalls for a second, then smooth for 3 seconds, rinse and repeat). The same happens right now when I'm typing. Typing is smooth for 3 seconds, then any input is lost for about a second, rinse and repeat. I've had Chrome and Basilisk open for the same amount of time, whih the same tabs open, and neither of them have the same issues. I've tried looking in resource monitor to try to spot periodic disk activity but I haven't found anything obvious. I have completely disabled Disk Cache in Pale Moon to rule that out. The most write-activity in Pale Moon seems to be from cookies.sqlite, which to my understanding handles cookies, and I don't really understand why it writes and reads so often when it's just handling cookies, but I don't think that that would cause the browser to completely come to a halt for a second, so I'm at a loss as to how to continue to troubleshoot this.
My experience is that during the beginning of the day, the browser is mostly fully responsive, though with some minor stalls and "microstutter" in the scrolling, but as the day progresses, the situation worsens with scrolling being smooth but the browsers coming to a complete stop every 3 seconds (scrolling completely stalls, then resumes to being smooth again for 3 seconds, then stalls for a second, then smooth for 3 seconds, rinse and repeat). The same happens right now when I'm typing. Typing is smooth for 3 seconds, then any input is lost for about a second, rinse and repeat. I've had Chrome and Basilisk open for the same amount of time, whih the same tabs open, and neither of them have the same issues. I've tried looking in resource monitor to try to spot periodic disk activity but I haven't found anything obvious. I have completely disabled Disk Cache in Pale Moon to rule that out. The most write-activity in Pale Moon seems to be from cookies.sqlite, which to my understanding handles cookies, and I don't really understand why it writes and reads so often when it's just handling cookies, but I don't think that that would cause the browser to completely come to a halt for a second, so I'm at a loss as to how to continue to troubleshoot this.
Re: Palemoon becoming more sluggish as the day progesses?
Set TaskMan's Performance tab to show kernel usage and look for spikes above ~4% in the new red line, esp. if they coincide with your timings. Check your data/disks for any errors, stuttering may be caused by increased background activity.
- yereverluvinuncleber
- Lunatic
- Posts: 323
- Joined: 2017-12-06, 21:25
Re: Palemoon becoming more sluggish as the day progesses?
I had something similar with PM 64bit, I switched to the 32bit version and it went away completely. The 64bit operation appeared to swamp my puny hardware, same with FF 64bit. I have run PM 32bit version permanently and since then the problem has never returned. You could at least try it...Ozzed wrote: My experience is that during the beginning of the day, the browser is mostly fully responsive, though with some minor stalls and "microstutter" in the scrolling, but as the day progresses, the situation worsens with scrolling being smooth but the browsers coming to a complete stop every 3 seconds (scrolling completely stalls, then resumes to being smooth again for 3 seconds, then stalls for a second, then smooth for 3 seconds, rinse and repeat).
My skills technical & otherwise: VMS system manager 20 years. Fault Tolerance, clustering, Vax, Alpha and ftSparc. DCL, QB45, VB.NET, VB6, PHP, Javascript. Graphic Design, Project Management, CMS Web Design. DOS and Windows admin since 1985. Quad Audio Electronics update and repair. Rebuilding classic cars and motorcycles. Artist in watercolours. Historian. There's more.