My application is a applet program.So I can't try it.
My branchgroup is a big group it include vrml's branchgroup
The group structure is follow.
objRoot(branchgroup)
|
|objTrans(transformgroup)
|
|------vrml's branchgroup
|------another vrml's branchgroup
|------branchgroup for java3d's face or point
When I redraw the screen.whether I should only make the objRoot to detach?
Is follow detach method is right?
Can it clear the old all objRoot and it's included the vrml's groups?
objRoot.detach();
int numToRemove = objRoot.numChildren();
for (int i = numToRemove-1; i>-0; i--) {
objRoot.removeChild(i);
}
Who can help to solve the problem.
(Clear the old Branchgroups cleanly for get the free memory).
----- Original Message -----
'-�MZ� : Mojtaba Hosseini <[EMAIL PROTECTED]>
^��� : <[EMAIL PROTECTED]>
'-�M"�Zz : 2000"N 1OZ 30"� "�-j"� O�'O 07:38
O�-� : Re: [JAVA3D]
> HI,:)
> Have you tried running your java program with the Xmx option?
>
> java -Xmx128m myprogram
>
> Hope this helps.
> Mojtaba
>
>
===========================================================================
> 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".