Hi all.
My application in the process of their work takes too much memory, because
created many qwebview and it are not cleared
at the conclusion of its work. Simple example:
for (int i = 0; i < 10; i ++)
{
if (i == 9) i = 0;
try {
Thread.sleep(500);
} catch (InterruptedException ex) {System.out.println(ex);}
QWebView _webView = new QWebView();
this._webView.load(new QUrl("http://www.mysite.com/"));
}
As a result I have error:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x051a0257, pid=31772,
tid=12556
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode, sharing windows-x86)
# Problematic frame:
# C [QtWebKit4.dll+0x70257]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
Method dispose() not solve the problem, Operating System - WinXP
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest