Hi,

 I just did a test case like you describe: a simple
GUI application with a button to open JDialog with a
running 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 that initial
value.

 I suspected there are some Java3D threads still
running, but with my JDeveloper trace tool, I could
not note evidence of this. The Java3D threads just
stop 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 my console
screen. Yeah, Java3D loads a lot of classes, around
300, 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 not full
released.
 Seens right to me. Just take a lot of memory.

 It is all a got.If someone knows how relase more
memory 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 are not
> cleared after closing the dialog even if i used
> cleanUp() method of SimpleUniverse , How can i solve
> this 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 body of the
> message "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 of the message "help".

Reply via email to