[RESOLVED] Nightly 6.0a1 + NS 2.1.0.3: memory leak
[RESOLVED] Nightly 6.0a1 + NS 2.1.0.3: memory leak
Nightly 6.0a1 (2011-05-12)
NoScript 2.1.0.3
No other addons or plugins enabled.
Javascript heap memory is leaked after visiting hxp://ro.me, when scripting is allowed there. Closing the tab or the window, or manually invoking GC/CC, will not free the leaked memory. Without NoScript, this appears not to occur (if it does, it's much less obvious.)
NoScript 2.1.0.3
No other addons or plugins enabled.
Javascript heap memory is leaked after visiting hxp://ro.me, when scripting is allowed there. Closing the tab or the window, or manually invoking GC/CC, will not free the leaked memory. Without NoScript, this appears not to occur (if it does, it's much less obvious.)
Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110512 Firefox/6.0a1
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Is there a Firefox regression window (did it start with a specific nightly build)?
If so, please file a bug report at https://bugzilla.mozilla.org
If so, please file a bug report at https://bugzilla.mozilla.org
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3370
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
I am running the latest build of nightly and not encountering this. Do you have other addons installed? That might be your problem because with my copy and NoScript, RequestPolicy, Ghostery, and Adblock Plus, I am not encountering what you are saying. This suggests you have another addon or configuration that is causing it, so take a look there.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/6.9 (en-US; rv:6.9.6.9) Gecko/66666666 Firefox/6.6.6
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
FF4, it ate up a chunk of memory (1.5 GB) & CPU (25%, 1 of 4 cores).
Closing the tab worked, but mem/cpu have remained & now I can't regain focus of FF.
Let me kill, disable NoScript & see ...
Ah, what'd'ya know, the numbers finally subsided (& I mean after minutes).
Well CPU has dropped to nil, though mem has only dropped to 1.45 GB.
And more interesting. "Closing" FF, cpu is back up to 25%, mem is at 1.36 GB.
The "Window" is gone, but the process has remained.
(At first I thought it was only going to take some time before it released from memory, but that does not look to be the case.)
NoScript disabled.
1.44 GB, 25%.
Close tab & same sort of response. mem/cpu remain high 25/1.43 & unable to regain focus.
Lets see if I can get focus in a few minutes ...
OK focus is back (took less time then before), CPU has dropped to nil & mem is now at 266 MB (around where it started to begin with).
And closing FF, it drops from memory almost immediately.
So I'm seeing a decided difference with having NoScript installed or not.
Without NoScript it looks like this (View Image to see full size if need be):

Closing the tab worked, but mem/cpu have remained & now I can't regain focus of FF.
Let me kill, disable NoScript & see ...
Ah, what'd'ya know, the numbers finally subsided (& I mean after minutes).
Well CPU has dropped to nil, though mem has only dropped to 1.45 GB.
And more interesting. "Closing" FF, cpu is back up to 25%, mem is at 1.36 GB.
The "Window" is gone, but the process has remained.
(At first I thought it was only going to take some time before it released from memory, but that does not look to be the case.)
NoScript disabled.
1.44 GB, 25%.
Close tab & same sort of response. mem/cpu remain high 25/1.43 & unable to regain focus.
Lets see if I can get focus in a few minutes ...
OK focus is back (took less time then before), CPU has dropped to nil & mem is now at 266 MB (around where it started to begin with).
And closing FF, it drops from memory almost immediately.
So I'm seeing a decided difference with having NoScript installed or not.
Without NoScript it looks like this (View Image to see full size if need be):

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Investigating, thanks.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
(I know no mention, but 2.1.0.4rc9 may now be causing crash on http://www.ro.me/ on closing tab?)
Worthless report, https://crash-stats.mozilla.com/report/ ... 0c02110514.
Worthless report, https://crash-stats.mozilla.com/report/ ... 0c02110514.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
AFAIK the latest nightlies have or will soon have many about:memory improvements (haven't looked into them yet), maybe this will prove helpful.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Please check latest development build (rc10), thanks.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Looks good. Took a bit of time for the memory/cpu to drop after closing the tab, but it did.


Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Though ... in SeaMonkey 2.1, I am not getting CPU usage to subside.
Quitting did close the windows, did release seamonkey.exe from memory (i.e. it did not hang in memory on Quit).

Quitting did close the windows, did release seamonkey.exe from memory (i.e. it did not hang in memory on Quit).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
It may depend on differences in hardware acceleration between SM and Fx (not sure if they exist, but it's possible as they may have different compilation options).therube wrote:Though ... in SeaMonkey 2.1, I am not getting CPU usage to subside.
Does disabling NS actually help on SM?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Latest development NoScript, same Nightly.
After waiting for the film to finish loading and closing the tab, the cycle collector strains for awhile (~25s, for three collections, on ~800mb of heap), but ends up successfully freeing the allocated memory. WFM; thanks a lot!
After waiting for the film to finish loading and closing the tab, the cycle collector strains for awhile (~25s, for three collections, on ~800mb of heap), but ends up successfully freeing the allocated memory. WFM; thanks a lot!
Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110512 Firefox/6.0a1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
No, in -safe-mode I crash during playbackDoes disabling NS actually help on SM?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
Closing down other instances of SeaMonkey/FF (i.e. freeing up much memory) I playback successfully (in -safe-mode).
Closing the tab, & memory looks to be holding steady - high, 1.38 GB, but I'll give it some time & see if it drops ...
< stand by, will update in a bit ... >
Many minutes later, & memory usage has not dropped at all, so not a NoScript issue.
Quitting did (eventually) release seamonkey.exe from memory.
Closing the tab, & memory looks to be holding steady - high, 1.38 GB, but I'll give it some time & see if it drops ...
< stand by, will update in a bit ... >
Many minutes later, & memory usage has not dropped at all, so not a NoScript issue.
Quitting did (eventually) release seamonkey.exe from memory.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110511 Firefox/4.0.1 SeaMonkey/2.1
Re: Nightly 6.0a1 + NS 2.1.0.3: memory leak
FF4 -safe-mode did also crash on me, so maybe ro.me is just not going to work (reliably) in Gecko 2.0.1.
(Worthless report, https://crash-stats.mozilla.com/report/ ... 99f2110515.)
(Trying again ...)
FF4 -safe-mode crashed again.
So one for one in SeaMonkey 2.1, 0 for two in FF 4.0.1.
(Worthless report, https://crash-stats.mozilla.com/report/ ... 99f2110515.)
(Trying again ...)
FF4 -safe-mode crashed again.
So one for one in SeaMonkey 2.1, 0 for two in FF 4.0.1.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1