I have a program where the user looks at a set of shape3d objects on
the screen with different textures mapped to them. Then the current
branch group is removed
mySimpleUniverse.getLocale().removeBranchGraph(myBranchGroup);
and then I attatch a different new BranchGroup.
mySimpleUniverse.addBranchGraph(myNewBranchGroup);
and after doing this a few times I get a java.lang.OutOfMemoryError.
What can I do about this. Is their anyway to check and see if my objects
are being garbage collected or staying on the stack. Is their a way to
look at how much memory I have used, or to make the memory which is
available larger. Is their another command I need to tell dispose of
the BranchGroup I don't need anymore? It is important to me to know that
when I am done with the BranchGroup it is being disposed of properly
becuase the speed of the program is important to me and I don't want
objects I'm not using resident in memory.
Please let me know if you have any suggestions or can point me to
information on tracking objects in memory or something like that.
Thanks
Brian
[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".