[webkit-dev] Purging as much memory as possible

Geoffrey Garen ggaren at apple.com
Fri Oct 2 11:13:46 PDT 2009

> * I notice that even when I set the WebCore::Cache capacity to zero,  
> I can't necessarily dump _everything_ out of it.  Is there some  
> other set of calls I should make to drop more references somewhere?

Cache::setCapacities() calls Cache::prune(), which should remove all  
dead items.

Live items cannot be removed from the cache.

If you have a scenario where calling setCapacities(0, 0, 0) doesn't  
purge all dead items from the Cache, please file a bug.


More information about the webkit-dev mailing list