mainWindow.setState(Frame.ICONIFIED);
try{ Thread.sleep( 20); }
catch( InterruptedException ie) {}
mainWindow.setState(Frame.NORMAL);
I know it is not nice, but works very well since it may free up to 50MB!!
Unfortunately, I don't know if it is possible to do that with an applet....
Osama Abdalah wrote:
Thank you all for your concern, But if any one have found this problem before and solved it please give me a hint since i thing that this problem is not a minor one since implementing java3D over swing components is not a strange thing to do,I hope to find a solution soon since this is critical for the application i make Best Regards --- Marty Vona <[EMAIL PROTECTED]> wrote:Have you run your app under a tool like Borland OptimizeIt, which can show you all live objects on the heap, their reference chains, and their allocation points? If not, I suggest that should be in your near-term plans.We have had many memory leaks with our app that we would *not* have been able to solve without the help of a memory tracing tool like this. Much more information is provided in a much more understandable format than what one can get the JVM to emit to the console. Good luck, Marty Osama Abdalah writes:thank you for your concern but yet i donot knowhow tosolve this problem it is critical for theapplicationi make Best regards --- Alessandro borges<[EMAIL PROTECTED]>wrote:Hi, I just did a test case like you describe: asimpleGUI application with a button to open JDialogwith arunning Canvas3D inside. I have the same behavior: after JDialog opened free memory decreases, and after closing the JDialog there is a few MBytes released, but far from thatinitialvalue. I suspected there are some Java3D threads still running, but with my JDeveloper trace tool, Icouldnot note evidence of this. The Java3D threadsjuststop running as it should be. Next try. I run my application with a -verbose:class option: java -verbose:class myApp Ok. A big list of loaded classes fill up myconsolescreen. Yeah, Java3D loads a lot of classes,around300, and they are kept in memory for future use. This classes are not reloaded when I open the JDialog a second time.And opens very fast. As gc just take instances, and not the class definition, that space taken by classes are notfullreleased. Seens right to me. Just take a lot of memory. It is all a got.If someone knows how relasemorememory after releasing Java3D instances, please share it with us. Ok, have more memory is always a good option ;) Alessandro --- Osama Abdalah <[EMAIL PROTECTED]> escreveu: > Hi All,Java 3D objects implemented on a JDialog arenotcleared after closing the dialog even if iusedcleanUp() method of SimpleUniverse , How can isolvethis problem Thank you all __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/===========================================================================To unsubscribe, send email to[EMAIL PROTECTED]and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the bodyofthemessage "help".Yahoo! Mail - o melhor webmail do Brasil http://mail.yahoo.com.br===========================================================================To unsubscribe, send email to[EMAIL PROTECTED]and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body ofthemessage "help".__________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/===========================================================================To unsubscribe, send email to[EMAIL PROTECTED] and include in the bodyof the message "signoff JAVA3D-INTEREST". Forgeneral help, send email to[EMAIL PROTECTED] and include in the body ofthe message "help".__________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
--
D'Amore Jean-Robert
IT Systems
Bell Geospace Ltd.
Unit 5A, Crombie Lodge
Aberdeen A.S.T.P
Balgownie Drive
Aberdeen AB228GU
Tel: +44(0)1224227703
Email: [EMAIL PROTECTED]
D'Amore Jean-Robert
IT Systems
Bell Geospace Ltd.
Unit 5A, Crombie Lodge
Aberdeen A.S.T.P
Balgownie Drive
Aberdeen AB228GU
Tel: +44(0)1224227703
Email: [EMAIL PROTECTED]
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".