Sections
Report typeBug Status?Closed Resolution?Rejected
ProductQt Functional areaWebKit Version found4.5.0
Priority?2 Scheduled for?4.6.0 (Next Minor Release)

Description

There is a memory leak relating to Javascript and CSS and caching, this may be in Qt or WebKit, currently its not known.

Using QtWebkit on davinci platform with QT, 150MB of RAM, 15-20 minutes entire memory is exhausted. Occurs more with webpages having bigger images e.g. browsing http://www.images.google.com

Tried with QtLauncher and Qt demo/browser, behavior is same, with latest nightly webkit build also. (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..?

History

2009-03-16 15:06 - Entry created: Version found set to '4.5.0', Version for fix set to 'Not scheduled', Task status changed to 'Open', Resolution set to 'Pending', Priority changed to 'No Priority'
2009-03-20 16:51 - Version for fix set to '4.6.0 (Next Minor Release)'
2009-03-20 16:51 - Priority changed to '2'
2009-09-11 09:59 - Task status changed to 'Closed'
2009-09-11 09:59 - Resolution set to 'Rejected'