Webkit has a default cache of 8 Mb (WebCore/Loader/Cache.cpp) and your data suggests it is using with in that limit. And it is a fraction of 150Mb you have mentioned, please check where the other memory is going.
thanks, Zaheer On Mon, Mar 16, 2009 at 11:49 AM, Purushottam Sholapur < purushottam.shola...@gmail.com> wrote: > Hi All, > > I am using webkit on davinci platform, with QT. We have 150MB of RAM, > If I use browser for 15-20 minutes. Entire memory is exhausted. There is no > other > application running. This is happening more with webpages having bigger > images. I am > browsing http://www.images.google.com > > I tried with QtLauncher and Qt demo/browser, behavior is same. > I tried with latest nightly webkit build also. (on 9th Mar '09), same > result. > Not sure where it is caching or leaking. > > Tried dumping Cache statistics periodically using. > Cache * cp = cache(); > cp->dumpStats(); > > It initially prints like this .... > Count Size LiveSize DecodedSize PurgeableSize > PurgedSize > ----------- ----------- ----------- ----------- ----------- ----------- > ----------- > Images 3 210215 210215 186976 > 0 0 > CSS 0 0 0 0 > 0 0 > JavaScript 1 2285 2285 0 > 0 0 > Fonts 0 0 0 0 > 0 0 > ----------- ----------- ----------- ----------- ----------- ----------- > ----------- > Later .... > Count Size LiveSize DecodedSize PurgeableSize > PurgedSize > ----------- ----------- ----------- ----------- ----------- ----------- > ----------- > Images 40 3968623 3891850 3729336 > 0 0 > CSS 2 17409 17409 0 > 0 0 > JavaScript 4 651566 649281 432854 > 0 0 > Fonts 0 0 0 0 > 0 0 > ----------- ----------- ----------- ----------- ----------- ----------- > ----------- > > Images, CSS, JavaScript count never reduces. Are they cached..? > > Is it same as that of this ... > http://www.nabble.com/JavaScript-memory-management-question-to20842278.html#a20842278 > > > Please suggest to solve this, > > regards > Purush > > > > > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > >
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev