[webkit-help] Possible memory leak or cache problem

Ariya Hidayat ariya.hidayat at gmail.com
Sat Oct 3 02:04:16 PDT 2009


> // Disable forward/back list
> list = webkit_web_view_get_back_forward_list(web_view);
> gint limit = webkit_web_back_forward_list_get_limit(list);
> webkit_web_back_forward_list_set_limit(list, 0);
>
> // Disable caches
> WebCore::cache()->setDisabled(true);
> WebCore::cache()->setCapacities(0, 0, 0);
> WebCore::cache()->setDeadDecodedDataDeletionInterval(0);
> WebCore::pageCache()->setCapacity(0);
>
> but it doesn't seem to help at all.
>
> Is there anything else I should try?

Use Valgrind Massif module. You might get the chance to find out the
offending functions that provokes the said behavior.




-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat


More information about the webkit-help mailing list