[webkit-dev] Purging as much memory as possible

Zoltan Herczeg zherczeg at inf.u-szeged.hu
Thu Oct 1 23:26:36 PDT 2009


Hi,

see QWebSettings::clearMemoryCaches() (WebKit/qt/Api/qwebsettings.cpp) to
clear memory caches and qt_drt_garbageCollector_collect
(WebKit/qt/Api/qwebframe.cpp) to call the garbage collector.

Zoltan

> On Oct 1, 2009, at 6:24 PM, Peter Kasting wrote:
>
>> * Does anyone already know the likely footprint of the Glyph cache,
>> or how to clear it?
>
> FontCache::purgeInactiveFontData().
>
> If you’re using Safari then you can see Font and Glyph Caches
> statistics in its Caches window, which also includes a Purge Inactive
> Font Data button that calls through to purgeInactiveFontData().
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>



More information about the webkit-dev mailing list