[Webkit-unassigned] [Bug 31253] Unbounded memory growth when adding and removing images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 8 08:16:50 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=31253


Mihnea Ovidenie <mihnea at adobe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60885|                            |review?
               Flag|                            |




--- Comment #4 from Mihnea Ovidenie <mihnea at adobe.com>  2010-07-08 08:16:50 PST ---
Created an attachment (id=60885)
 --> (https://bugs.webkit.org/attachment.cgi?id=60885)
Simple patch, possible solution to improve memory consumption

Here is a simple patch that implements the idea of DocLoader keeping a weak reference to its CachedResources. When this resources are removed from cache, they are also deleted since DocLoader will not keep a reference to them. Taking into account the complexity of such issue, it would be great if somebody with expertise could take a look and share an opinion about this patch.

Regards,
Mihnea

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list