Does anyone have a suggestion/tool for tracking down "memory leaks".

I build a BracnkGroup with lots of objects.  Attach it to my scene.  Later,
I detach it.  After detaching and calling System.gc(), I *never* see the
memory usage for javaw decrease.  (Windows 2000 task manager reports memory
usage of tasks.)

Are there ways to track down what is still allocated that is preventing the
freeing up of all the memory used by the detached BranchGroup?

What happens if I use a SharedGroup and a Link?  If I allocated a
SharedGroup in a method, and add a Link under the BranchGroup to the
SharedGroup, then later, detach the BranchGroup, does Java  3D keep the
SharedGroup around someplace so the memory allocated to the BranchGroup is
still allocated?  Even when there are no longer Links to the SharedGroup?

Are there better ways to measure memory usage other than the tack manager of
Windows to determine/track "memory leaks"?

Thanks,
Bob Gray

===========================================================================
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