Hi Daniel,

  Bug 4357935 is filed for this. The memory

usage double when branch detach and attach it back the

first time. Thereafter the memory usage is about the same

no matter how many time the remove/attach button press.

It seems that one extra copy of scene graph is reference

internally. We'll look into this before next release.

Thanks.

- Kelvin

------------
Java 3D Team
Sun Microsystems Inc.

>From: "Dvorak, Daniel J." <[EMAIL PROTECTED]>
>To: "'Kelvin Chung'" <[EMAIL PROTECTED]>
>Subject: RE: [JAVA3D] Recover memory after remove branchgroup
>Date: Mon, 31 Jul 2000 13:53:01 -0400
>MIME-Version: 1.0
>
>Hi Kelvin,
>
>Here is a quick and dirty example.  I trimmed down my real application, so
>if the code is sloppy, that's why.
>
>The program puts 5000 colorcubes in the scene graph, then takes them out and
>adds new ones when you hit the button.  After 2 or three cycles, you run out
>of memory.
>
>
>
>Daniel
>
>-----Original Message-----
>From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 31, 2000 1:19 PM
>To: [EMAIL PROTECTED]
>Subject: RE: [JAVA3D] Recover memory after remove branchgroup
>
>
>Hi Dvorak,
>
>   We're aware of this problem and already fix in
>the next beta release. The reason why I ask for a test
>program is to make sure that it is fixed in our daily build.
>So you may need to test out the beta version when we release.
>
>Thanks.
>
>- Kelvin
>
>>From: "Dvorak, Daniel J." <[EMAIL PROTECTED]>
>>To: "'Kelvin Chung'" <[EMAIL PROTECTED]>
>>Subject: RE: [JAVA3D] Recover memory after remove branchgroup
>>Date: Mon, 24 Jul 2000 06:06:32 -0400
>>MIME-Version: 1.0
>>
>>I will try to make a simple app that will show this problem.  I can't
>really
>>send my whole application because it requires data files to run, and I'm
>not
>>sure my company would allow it.
>>Daniel
>>
>>-----Original Message-----
>>From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, July 21, 2000 1:20 PM
>>To: [EMAIL PROTECTED]
>>Subject: Re: [JAVA3D] Recover memory after remove branchgroup
>>
>>
>>Hi Daniel,
>>
>>  Can you please send us a test case for this ?
>>
>>Thanks.
>>
>>- Kelvin
>>-------------
>>Java 3D Team
>>Sun Microsystems Inc.
>>
>>>X-Unix-From: [EMAIL PROTECTED]  Fri Jul 21 04:16:40 2000
>>>MIME-Version: 1.0
>>>Date: Fri, 21 Jul 2000 07:03:20 -0400
>>>From: "Dvorak, Daniel J." <[EMAIL PROTECTED]>
>>>Subject: [JAVA3D] Recover memory after remove branchgroup
>>>To: [EMAIL PROTECTED]
>>>
>>>When commanded by the user, I remove the content branch group from the
>>>simpleUniverse in preparation for displaying new content.  It doesn't
>>appear
>>>that the memory is being released, however, and my program runs out of
>>>memory after a few cycles of removing and adding branchgroups.  A call to
>>>System.gc() has no effect.
>>>
>>>Is this a bug or do I have to manually clean up all the objects in the
>>>branchgroup?
>>>
>>>Daniel Dvorak
>>>
>>>==========================================================================
>=
>>>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".
>>
>>===========================================================================
>>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".
>

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