System.gc only wakes the garbage collector, if it is not started.

You may explicitly set the object to null. If the objects are of the same type, then put them in an array and set the array to null.

 

Isaac Brobbey

Java2 & Java3D

MS/CIT Project

-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of hterrolle
Sent: Friday, March 28, 2003 3:25 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Memory problem

 

Hi,

 

How can i make sure that old instance are remove when i use SYSTEM.GC().

because when i load 100 object and that i remove these object from the locale. I find out that the memory i ,not recevered by the system. If i reload 100 object and i remove it again. all the momery look used. i use windows 98

 

Thanks

Reply via email to