RESOLVED INVALID111926
[Qt] Webkit leaks on sites based on Qt Google maps api when lots Markers and Labels used
https://bugs.webkit.org/show_bug.cgi?id=111926
Summary [Qt] Webkit leaks on sites based on Qt Google maps api when lots Markers and ...
Mozhaev Grigory
Reported 2013-03-09 12:49:37 PST
Before to explain the problem I must notice that it doesn't happen for Webkit which comes along with Qt 5.0 beta 1 version. If you use any webkit since Qt 5.0.0 release until Webkit from git you will come to the case described in this bugreport. It happened for WK1 and WK2 (checked on Linux) and for Windows and Linux both with the same result. Steps to reproduce: 1. Open minibrowser or QtTestBrowser 2. Visit the following site: http://www.calcalist.co.il/internet/home/0,7340,L-4532,00.html and in a couple of seconds memory usage (only for that opened page) will grow to about 1.5-1.6Gb, if you do reload of the page it will crash (it crashed on my system cause I have limit to 3Gb of memory usage) due to deficiency of free memory. The frame inside that is happening is actually the map based on google api. It's direct url is: http://israelstartupmap.com/cal2map-test I tried to turn off JIT and DFG and rebuild webkit, but that doesn't not help. In Qt5 beta 1 memory usage is normal (about to 200Mb) and map opens fast, no leaks. Any clues?
Attachments
Mozhaev Grigory
Comment 1 2013-03-09 13:20:15 PST
It's pretty obvious that the site in report based on the following example (or otherwise, it doesn't matter): http://blog.mridey.com/2009/09/label-overlay-example-for-google-maps.html So any site which use the same rules described in the example (and have a lot of labels and markers on map) will do the same with webkit.
Mozhaev Grigory
Comment 2 2013-04-26 14:47:20 PDT
This is pretty major bug still exists in the latest trunk (todays webkit still have it), any clues?
Note You need to log in before you can comment on or make changes to this bug.