[Webkit-unassigned] [Bug 136417] Pruning of live cached images should not remove images on the display.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 2 16:27:11 PDT 2014


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





--- Comment #5 from Pratik Solanki <psolanki at apple.com>  2014-09-02 16:27:15 PST ---
(From update of attachment 237472)
View in context: https://bugs.webkit.org/attachment.cgi?id=237472&action=review

> LayoutTests/loader/prune-live-cached-image.html:41
> +    <!-- Assumes capacity of WebCore::MemoryCache == 8M(Which is from WebCore::cDefaultCacheCapacity). -->

It's actually much higher and is based on the amount of RAM on the machine. We call MemoryCache::setCapacities() to bump it up. For WebKit2, see Source/WebKit2/Shared/CacheModel.cpp. It also depends on the mode you're in e.g. Safari will have a bigger cache (128MB on a machine with more than 2GB RAM) than an app using a WKWebView (96MB).

I tried hardcoding a limit of 8MB but was unable to reproduce the crash on Mac.

-- 
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