I experience memory leaks when I try to remove a branchgroup who
has been attach to a scene. This branchgroup is composed of
transformgroup and cylinder (see below).
there's a similar known bug:
4182781 Shape3D memory not freed when unassigned if
associated appearance object isalive
So, I try to disable all appearance on the cylinder but the leaks
continue. I also try to detach the branchgroup before deleting it
but it makes no change.
This is the part of the tree who is making trouble.
BranchGroup
|
TransformGroup
|
TransformGroup
|
============> the problem start here!
BranchGroup
|
Cylinder and TransformGroup
So, my questions are:
Did I do something wrong by branching a branchgroup to a transform group
and dynamically allocating this branchgroup ?
and if not:
Is there a workaround to avoid memory leaks when you remove
the branchgroup from a live group(actually a transformgroup)?
and will it be corrected in the next release of Java3D?
Thanks in advance,
Fran�ois Savard
OPEA-MAT/virtual laboratory
Civil Engineering Deparment
Universit� Laval
===========================================================================
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".