Opened 5 years ago

Closed 5 years ago

#1825 closed defect (fixed)

Too much memory usage on zjol.com

Reported by: jobp Assignee:
Priority: Unknown Milestone:
Module: Unknown Keywords:
Cc: mapx, arthur Blocked By:
Blocking: Platform: Maxthon
Ready: no Confidential: no
Tester: Verified working:
Review URL(s):

Description

Environment

Test1:
Browser: Chrome 41.0.2272.3,
OS: Win7 x64
Extension: Adblock Plus 1.8.9 enabled (Easylist+Chinalist latest)
Reproduce:

  1. open this page http://www.zjol.com.cn/zjolbbs/jdht/wzf/
  2. wait, Chrome will occupy 1.6GB or more RAM

Test2:
Browser: Maxthon4.4.4.900-c with Adblock Plus
OS: Win7 x64
Adblock Plus: enabled (Easylist+Chinalist latest)
Reproduce:

  1. open this page http://www.zjol.com.cn/zjolbbs/jdht/wzf/
  2. wait, Chrome will occupy 1.6GB or more RAM

Test3:
Browser: Chrome 41.0.2272.3,
OS: Win7 x64
Extension: Adblock Plus 1.8.9 disabled
Reproduce:

  1. open this page http://www.zjol.com.cn/zjolbbs/jdht/wzf/
  2. wait, Chrome will occupy 280MB RAM, that is normal

Observed behavior

We should be able to reproduce the findings, if this is the case: too high memory usage

Expected behaviour

Less memory usage

Change History (8)

comment:1 Changed 5 years ago by mapx

(in chrome) if you block the frames

||enorthapi.zjol.com.cn:8084/*

will occupy 700 MB

Last edited 5 years ago by mapx (previous) (diff)

comment:2 Changed 5 years ago by mapx

  • Cc mapx added

comment:3 Changed 5 years ago by jobp

Copy of email to Maxthon:

The ridiculously high amount of memory is triggered by the unusual high amount of frames on that particular website.

The memory can be significantly reduced (to ~450MB) by adding this filter:

@@www.zjol.com.cn$elemhide. So, it seems the memory is occupied by injected CSS many times. This could potentially be optimized with a "globally applied" stylesheet as we use in our Firefox version which is instantiated once. It's up to you how, when and if you want to add this too.

We'll follow-up with the filterlist authors, to see what other optimizations we can do to reduce the memory. But we don't encourage adding of some performance workarounds (especially which are not related to the ads) into the filter list for particular web site.

Do you have any contact with this website? In this case, it would be great if they can investigate this, too. This way we can assist them to optimize the performance of their webpage.

comment:4 Changed 5 years ago by jobp

  • Cc arthur added

comment:5 Changed 5 years ago by arthur

I think the best short-term solution would be an element hiding exception like @@||zjol.com.cn^$elemhide or just one for the iframes like @@||zjol.com.cn^*/index.jsp?newsid=$elemhide.

comment:6 Changed 5 years ago by jobp

Ok, thanks. Can you notify the EasyList China author to add those rule(s)?

Also, I understood that this is an issue on only 1 page. Therefore, after adding the rules this issue can be closed.

comment:7 Changed 5 years ago by jobp

Filters added: https://hg.adblockplus.org/easylistchina/rev/a1f0b13cbe88

This issue is now fixed.

comment:8 Changed 5 years ago by jobp

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.