Bug 111926
| Summary: | [Qt] Webkit leaks on sites based on Qt Google maps api when lots Markers and Labels used | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mozhaev Grigory <zcrendel> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Major | CC: | andersca, zcrendel |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
Mozhaev Grigory
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mozhaev Grigory
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
This is pretty major bug still exists in the latest trunk (todays webkit still have it), any clues?