Kapil,

You should not need to duplicate the scenegraph to support multiple Views -
Java 3D has built in support to do that. Check out the MultiView and
PlatformTest examples from my book.

As for GC to reclaiming memory, you should search the list archives, this is
a subject which has come up regularly.

Sincerely,

Daniel Selman

Author - "Java 3D Programming"
http://www.manning.com/selman

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Kapil Joshi
Sent: Tuesday, April 09, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: Java3d Memory Consumption
Importance: High


hello everybody !

i have developed a small application using swing & java3d. i want it to
support multiple views. i have used JInternalFrames in swing for that. i am
duplicating the scenegraph for the purpose. but it is consuming a lot of
memory. i have also written a function that recursively traverses the
duplicate scenegraph and removes every node in it and makes them 'null' (not
to keep any references). but still the occupied memory does not reduce. i
have called the System.gc() @ the end of the function for collecting free
memory

any help is most welcome

thanks in advance.

kapil joshi

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