Opened on 01/16/2015 at 04:10:39 PM

Closed on 01/26/2015 at 08:54:44 AM

#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

Attachments (0)

Change History (8)

comment:1 Changed on 01/17/2015 at 09:03:04 AM by mapx

(in chrome) if you block the frames

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

will occupy 700 MB

Last edited on 01/17/2015 at 09:05:16 AM by mapx

comment:2 Changed on 01/17/2015 at 09:03:39 AM by mapx

  • Cc mapx added

comment:3 Changed on 01/20/2015 at 04:41:10 PM 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 on 01/21/2015 at 09:29:59 AM by jobp

  • Cc arthur added

comment:5 Changed on 01/23/2015 at 09:19:54 AM 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 on 01/23/2015 at 09:58:46 AM 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 on 01/26/2015 at 08:54:31 AM by jobp

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

This issue is now fixed.

comment:8 Changed on 01/26/2015 at 08:54:44 AM by jobp

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none).
 
Note: See TracTickets for help on using tickets.