Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.2.1
-
None
-
Windows 7 64-bit
Description
I am using "Qt 5.2.1 MSVC-2010 32 bit OpenGL"(downloaded from Qt's download page) on windows 7 64-bit. I created HTML5 Application from Qt creator 3.0.1, which uses QGraphicsWebView inside, and I am getting memory leaks reported in Qt Creator's Application output. This bug is the same as the closed bug "QTBUG-29390"(created for Qt 5.0.0 and 5.0.1). I am creating a new bug because i am seeing this memory leak in Qt 5.2.1 as well. I doubt that it is fixed in Qt 5.3. The memory leak warnings in Qt-Creator are like:
LEAK: 1 CachedResource
LEAK: 1 Frame
LEAK: 7 RenderObject
LEAK: 28 WebCoreNode
LEAK: 1 Page
Attached is some sample code that illustrates the issue. This is a simple example, but when i do more involved DOM manipulation with javascript, the leaks grow dramatically. I have also tried Jocelyn's solution of using "QWebSettings::clearMemoryCaches()" as posted on "QTBUG-29390", but no luck.