Many threads cannot terminate unless exit JVM(invoke System.exit()).
If I open and close many browsers ,is it possible to consume a lot of memory?
How to terminate all browser threads by programming but not exit JVM?
Thanks all!
How did you close opened browsers?
-Serge
I don't want to close the main browser frame manully.Or I want to close the HeadlessBrowser completely.
I tied to invoke methods:
browser.close();
frame.dispose();
but Many resources seem not to release.
Why?Who?
Thanks for your replying,very much.
Hi,
Yes, basically you just need to invoke Browser.close() method to release a browser object. In the latest build of JExplorer we have tried to minimize the memory leak issues on our side as much as possible. And you can download the latest build of JExplorer from our ftp: ftp://ftp.teamdev.com/updates/jexplorer-1.9.902.zip Also, that's a known fact that IE WebBrowser ActiveX component itself (which is used by JExplorer) has memory leak issues, so it's quite possible that you have faced with one of these issues.
Please try the new JExplorer update and let us know if helps to solve the memory leak problem in your application. But if it does not help then please send us a complete test case which reproduces the issue. We will investigate it and let you know the solution.
-Serge