[webkit-dev] Regarding cache memory leaks

Holger Freyther zecke at selfish.org
Sun Oct 17 14:58:57 PDT 2010


On 10/13/2010 05:30 PM, sumanrapolu at aim.com wrote:
>  Hi Holger,
> 
> When we use the default cache model i.e 8MB cache size in this case it is
> storing the images beyond the 8MB that is untill complete RAM memory. So we
> disabled the cache by using WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER  even though
> the images and JS are storing in the Cache. We observed this by printing
> dumpStats output.

Could you please create a test case and tell me how you determined that it is
leaking memory vs. going over the limit of the cache? The cache will go over
the limit for an active page. I once created a bug[1] to more aggressively
free resources.


[1] https://bugs.webkit.org/show_bug.cgi?id=30210






More information about the webkit-dev mailing list