[webkit-dev] caching /memory leak... browsing images
Purushottam Sholapur
purushottam.sholapur at gmail.com
Sun Mar 15 23:19:11 PDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090316/7582f1e5/attachment.html>
More information about the webkit-dev
mailing list