Dear Serg_HD.

Did you tried to reproduce this in native C++ code? I suspect this has
nothing to do with QtJambi,
it's probably a resource release problem in the way QWebView is
implemented. Maybe....

If so, you will have to check with the qt-interest list.

Regards,
Helge Fredriksen

Serg_HD wrote:
> 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
>   

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to