> In my application, I need to create and delete objects fairly often. I create
the objects as a BranchGroup, and when I want to delete them, I use the detach()
function. Everything seems to work, but memory consumption continues to ramp and
performance gets increasingly slow. Is there something I need to do besides
detach() to allow detached BranchGroups to become garbage collected? I am quite
sure that I don't keep references to the detached BranchGroups myself, so I've
done everything I can do to enable garbage collection.
>
> I'm using Java3d 1.2alpha1 on WinNT 4.0.
Hi John!
Perhaps it hepls when you call after "BranchGroup.detach()"-method the
"System.gc()"-method. This method invokes the garbage collector directly.
Greetings, Stephan.
===========================================================================
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".