[webkit-dev] caching /memory leak... browsing images
Fabio Calabrò
calabro.fabio at gmail.com
Thu Mar 26 10:58:08 PDT 2009
Hi Purushottam,
I'm using webkit with QT -Embedded on a board with 128MB of RAM. I have
the same problem that you wrote.
So I tried your patch. I did not see significant improvements .... It saves
only a bit of memory ( I'm running Webkit with 8 Mb of Cache and with
Network Disk Cache enabled) and animated gif are not working properly... Do
you have this problem too??
Why are you doing clear on all m_imageList ??
Regards
Fabio Calabrò
2009/3/16 Purushottam Sholapur <purushottam.sholapur at gmail.com>
> 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 at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090326/b073b738/attachment.html>
More information about the webkit-dev
mailing list