[webkit-dev] How webkit deallocate memory?

Ariya Hidayat ariya.hidayat at trolltech.com
Thu Jan 8 02:03:20 PST 2009


> Why did it happen?
> Is there a way to deallocate memory from a webkit object (for example, when
> close a tab which contains a page loaded)?
> Or, Does webkit only deallocate memory when the browser process is killed?

(This does not answer your questions directly)

For QtWebKit, you may want to have a look at QWebSetings, e.g. 
setMaximumPagesInCache(). In general, also have a look at PageCache classs 
(WebCore/history/PageCache.cpp).



-- 
Ariya Hidayat, Software Engineer
Qt Software, Nokia Devices R&D


More information about the webkit-dev mailing list