> Date:         Thu, 27 Feb 2003 20:02:15 -0000
> From: Brendan Cleary <[EMAIL PROTECTED]>
>

> I have an app that interactively builds models of given hierarchical data
> sources, it works and the models typically take about 20 - 50 MB depending on
> depth and branching factor etc.  The models are rooted at a BranchGroup that
> I detach when I want to rebuild the model for a new data source and then
> reattach.
>
> The problem is that each time I reattach the BranchGroup the memory used by
> the new model is added to the memory already in use, the memory used by the
> old now not referenced model is not collected at any time.

What version of Java 3D are you using?

Are you using SharedGroup in Java 3D 1.3 FCS or 1.3.1 beta?  If so,
bug 4794994 - "Memory leak when SharedGroup removed"
may apply.   This bug is fixed in the upcoming Java 3D 1.3.1 release.

Are you using a beta release of Java 3D 1.3?  If so,
Bug 4688070 - "Memory not immediately reclaim when branchgroup remove"
may apply.  This bug was fixed in Java 3D 1.3 FCS.

If you're using 1.3 or the beta release of 1.3.1 and neither of the above
apply, please send us a test case for investigation.  If you're using an
earlier version than 1.3, consider upgrading -- a number of memory leaks
relating to branchgroups have been fixed since 1.2.

Thanks -- Mark Hood

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