play.spotify.com

This is where you should report issues arising from the subscription filters.
Locked
jan123
Guest

play.spotify.com

Post by jan123 »

Code: Select all

https://play.spotify.com/
more info

Code: Select all

https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/The-web-player-leaks-memory/td-p/1332839
it's occurs on adblock plus too
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 »

Thanks for reporting but this issue is not related to Easylist.

Btw, see https://adblockplus.org/blog/latest-fir ... mory-usage
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
jan123
Guest

Post by jan123 »

i use adblock plus 2.7.2 and firefox 46.0
a week ago I could listen to music even for a few hours and memory consumption was 350-500 MB, but now after a few ten minutes is up 1700 MB. if I disable ad blocking problem does not occur
User avatar
smed79
Liste AR/FR Author
Liste AR/FR Author
Posts: 15839
Joined: Sun Jan 17, 2010 4:00 am
Location: EasyList Forum

Post by smed79 »

1- reset firefox https://support.mozilla.org/kb/reset-fi ... t-problems
2- reInstall adblock plus https://addons.mozilla.org/en-US/firefo ... lock-plus/

still having trouble report a Bug https://adblockplus.org/forum/viewtopic ... 11&t=23626 (describe how to reproduce).
•► Read RULES / Use forum Search
••► Don't post clickable links
•••►Upload screenshots at imgbb.com
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

jan123 wrote:i use adblock plus 2.7.2 and firefox 46.0
a week ago I could listen to music even for a few hours and memory consumption was 350-500 MB, but now after a few ten minutes is up 1700 MB. if I disable ad blocking problem does not occur
Disregard the irrelevant and unhelpful suggestion to change whatever blocker you are using -- investigating the actual issue is what actually help.

The issue is obviously the site's own script dealing badly with the blocking of some resources. Can you try the following exception filters and see if this help?

@@||newrelic.com^$third-party,domain=play.spotify.com
@@||nr-data.net^$third-party,domain=play.spotify.com

I still need to investigate more, to see if this can be further narrowed, but profiling memory usage shows that the page ends up growing an array indefinitely, it was almost 300,000 items and probably still growing after a few minutes.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

If using uBlock Origin, force an update of filter lists, I added the two above exception filters to uBlock filters -- unbreak. Formal issue at https://github.com/uBlockOrigin/uAssets/issues/36.
MonztA
EasyList Author
EasyList Author
Posts: 8121
Joined: Thu Jul 26, 2007 4:19 pm
Location: Germany

Post by MonztA »

Maybe this was the culprit: https://hg.adblockplus.org/easylist/rev/bf52fa108634 Please update EasyList manually and check.
jan123
Guest

Post by jan123 »

Thanks gorhill. I added

Code: Select all

@@||newrelic.com^$third-party,domain=play.spotify.com
@@||nr-data.net^$third-party,domain=play.spotify.com
and now when i listen music on spotify firefox uses less than 500MB

@MonztA I updated and checked but it did not help.
gorhill
uBlock Origin Author
uBlock Origin Author
Posts: 230
Joined: Mon Aug 18, 2014 3:17 pm

Post by gorhill »

jan123 wrote:Thanks gorhill. I added

Code: Select all

 @@||newrelic.com^$third-party,domain=play.spotify.com
@@||nr-data.net^$third-party,domain=play.spotify.com
and now when i listen music on spotify firefox uses less than 500MB
If you are using uBO, I pushed a fix which does not require these two exception filters. Remove them and force an update of uBO's filter list. See if this works on your side.
jan123
Guest

Post by jan123 »

Yes it works. I checked now with uBlock Origin. I listened music on spotify for one hour I not opened any other site and firefox.exe memory goes only to 355MB. it's amazing Now I will only use uBlock Origin. Thanks.
I see in the logger thats newrelic it's not whitelisted anymore, but I dont see any info about that script injection.
Locked