Pale Moon Using a Smoke Load of Ram?

Support board for people running on (retail/OEM) Windows XP (32/64-bit).
Forum rules
This is a self-serve support board for our community. The development team can't provide any support for Windows XP (and compatible versions of Pale Moon for it) any longer.
Thehandyman1957

Pale Moon Using a Smoke Load of Ram?

Unread post by Thehandyman1957 » 2015-09-18, 01:03

Hey there guys, is there a way to tell what extensions are using how much ram?

Here is a snap of my Pale Moon Ram usage.
Screenshot - 9_17_2015 , 6_00_38 PM.png
Would be nice to know what add-on's are using what. :think:
You do not have the required permissions to view the files attached to this post.

x-15a2

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by x-15a2 » 2015-09-18, 02:43

Try About:memory and select the Verbose box then click Measure

Thehandyman1957

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Thehandyman1957 » 2015-09-18, 03:56

Ok, so I did what you said and I saved a memory test from when it was using almost 1.3gigs of ram and then after a complete reboot of the whole system as Pale Moon crashed on me and I could not get it back up without restarting the computer. Once back up Pale Moon was only using as I type this, about 400megs. For all my add-on's that is totally normal.

I am not able to make heads or tails to this so I'm hoping someone can look at these files and see what was going on.
Please note that Pale Moon had been running for about 36 hours.
Ok, so the first one was almost 3.5 megs and so I had to split it up into three parts just to upload it. I saved it in Notepad format.
1st Memory Report 1st Part.txt
1st Memory Report 2nd Part.txt
1st Memory Report 3rd part.txt
This fourth one is the memory test I did after the reboot.
Memory Report 2.txt
I am hoping that someone that knows more about what to look for can scan these and see if they see anything out of the norm. :geek:
You do not have the required permissions to view the files attached to this post.

Tharn

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Tharn » 2015-09-18, 05:48

At a quick glance.. you have a ton of leftover JavaScript pieces as well as one extension with well-known memory leaks: Youtube Center. These two things could be related. Either replace it with the less leaky Youtube Center userscript running Greasemonkey, Scriptish or GuerillaScript or find an alternative for it.

Thehandyman1957

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Thehandyman1957 » 2015-09-18, 23:10

Tharn wrote:At a quick glance.. you have a ton of leftover JavaScript pieces as well as one extension with well-known memory leaks: Youtube Center. These two things could be related. Either replace it with the less leaky Youtube Center userscript running Greasemonkey, Scriptish or GuerillaScript or find an alternative for it.
I sure thank you for taking a look. That's a real bummer.
There just doesn't seem to be another add-on like Youtube Center anywhere.

After taking a look at these I find that I don't even know what they do. Never worked with scripts before. :oops:

How do these add-on's work? :think:

Again thank you for taking the time to help me with this. :thumbup:

P.S. For now I just turned Noscript back on to full. Had it off because it's a pain sometimes.

Tharn

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Tharn » 2015-09-19, 05:49

It's quite easy actually. For Palemoon, you'll want to grab either Greasemonkey 1.15 off of AMO, or Scriptish from here. And then you grab the Youtube Center userscript by clicking 'install'. You're done. ;)

NoScript has nothing to do with userscripts by the way. NoScript tries to block bits of JavaScript coming from outside, userscripts are bits of JavaScript that you run on purpose to change webpage behaviour.
Last edited by Tharn on 2015-09-19, 14:30, edited 1 time in total.

JodyThornton

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by JodyThornton » 2015-09-19, 13:55

Hey Moonchild, if you're reading this, perhaps you can chime in with your perspective on my question. :)

What is it about a modern day browser (like yours) that would nowadays take up a fair amount of RAM (say, more than 100 MB), whereas an early Phoenix/Firefox build might have been 20 MB or less. Plug ins aside, why is it today that we can't achieve that small memory footprint?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37685
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Moonchild » 2015-09-19, 14:41

JodyThornton wrote:Hey Moonchild, if you're reading this, perhaps you can chime in with your perspective on my question. :)

What is it about a modern day browser (like yours) that would nowadays take up a fair amount of RAM (say, more than 100 MB), whereas an early Phoenix/Firefox build might have been 20 MB or less. Plug ins aside, why is it today that we can't achieve that small memory footprint?
  • HTML5 + CSS parsing and rendering (more features means more code and more data space required)
  • Complex javascript features, pushing it as an OOP language instead of single-task scripting
  • CSS2/3 + required compositing/layering
  • Caching of rendered pages (without it, re-rendering modern pages each time would make it terribly slow)
  • Hardware acceleration (a modern browser is much more like a modern game than a classical straight-up application).
    Nobody ever questions RAM usage of a game, but for browsers it's apparently taboo?
  • Tabbed browsing - people tend to have many documents open at once
Average specs of systems also have (a lot) more RAM now, so in design of software, you are going to use that available space.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Thehandyman1957

Re: Pale Moon Using a Smoke Load of Ram?

Unread post by Thehandyman1957 » 2015-09-19, 23:22

Tharn wrote:It's quite easy actually. For Palemoon, you'll want to grab either Greasemonkey 1.15 off of AMO, or Scriptish from here. And then you grab the Youtube Center userscript by clicking 'install'. You're done. ;)

NoScript has nothing to do with userscripts by the way. NoScript tries to block bits of JavaScript coming from outside, userscripts are bits of JavaScript that you run on purpose to change webpage behaviour.
Hey, thanks for the info. I uninstalled the add-on and followed your instructions. Works perfect. :thumbup:

Thank you very much. :mrgreen: This forum Rocks :D