Page 1 of 1

Memory leak on JoyReactor

Posted: Fri Feb 13, 2015 10:57 pm
by Xphome
After a few hours of troubleshooting I've found that when you use NoScript and visit JoyReactor.cc (and allow joyreactor.cc in NoScript. NOTE: might contain NSFW material) then minimize Firefox the working set (physical RAM usage) will increase several GBs. The usage doesn't suddenly jump, it takes about a minute for it to get to the limit which in my case seems to be between 2.5GB and 3.1GB. Yeah I've disabled all other addons and reset the NoScript settings, it seems to only happen with this site and only when NoScript is enabled.

This happens both on latest stable (2.6.9.13) and latest development release (2.6.9.14rc1).

Re: Memory leak on JoyReactor

Posted: Fri Feb 13, 2015 11:15 pm
by barbaz
Does it happen with Scripts Globally Allowed and nothing Untrusted?

If not, what if you whitelist everything you see on your NoScript menu on that site with Scripts Globally Allowed?
If so, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)

Re: Memory leak on JoyReactor

Posted: Fri Feb 13, 2015 11:44 pm
by therube
So ...

load the page
allow joyreactor.cc
minimize & wait

That's all you need?
Or are you also browsing the pages?
(Don't know Russian, but Эротика sounds interesting ;-))
How about the webm content, is that allowed?
Is there Flash? Animated GIFs are allowed?

Does it also happen in FF 35.0.1 or do you need Aurora/Nightly?
Is that an E10 thing? Is that enabled?

What Plugins do you have?

Re: Memory leak on JoyReactor

Posted: Sat Feb 14, 2015 12:15 am
by Xphome
Does it happen with Scripts Globally Allowed and nothing Untrusted?

If not, what if you whitelist everything you see on your NoScript menu on that site with Scripts Globally Allowed?
If so, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)
Yes, it happens with scripts allowed globally and nothing blocked on that paged. I see nothing that I think could be related in the console, the only errors from NoScript is "JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead"
therube wrote:So ...

load the page
allow joyreactor.cc
minimize & wait

That's all you need?
Or are you also browsing the pages?
(Don't know Russian, but Эротика sounds interesting ;-))
How about the webm content, is that allowed?
Is there Flash? Animated GIFs are allowed?

Does it also happen in FF 35.0.1 or do you need Aurora/Nightly?
Is that an E10 thing? Is that enabled?

What Plugins do you have?
Ah, I see that I forgot some information.
I've found that these steps reproduce this issue every time for me:
1. Allow joyreactor.cc.
2. Restart Firefox.
3. Load the frontpage of joyreactor.cc (any pages I've tested seems to "work" for this too)
4. Minimize Firefox and watch the Working Set climb (IMPORTANT: It's not the Private Working Set that increases, it's Shareable memory that increases so make sure you're not just looking at Private Working Set).

It climbs pretty fast, should take just a few seconds to climb a few hundred MBs.

WebM content is allowed, blocking or allowing Flash doesn't seem to matter. However, switching the Allow/Block setting for Flash and reloading the page seems to make the issue go away, could just be reloading the page does the same.

I'm running Developer Edition 37.0a2 (2015-02-13), E10S is disabled, hardware acceleration is on. I experience this both with other plugins on, and when NoScript is the only active plugin.