You can't. Java Garbage Collector is the only one who decides when and how unreferenced objects are collected. System.gc() only wakes up the garbage collector if it's not working. There are several types of garbage collectors available, see http://wireless.java.sun.com/midp/articles/garbagecollection2/ (thanks to Richard Smith for pointing that article out).
 
Regarding your problem, it looks like bug 4794994 and according to Mark Hood is fixed in the next release of j3d (1.3.1).

Cheers,

Florin

-----Ursprüngliche Nachricht-----
Von: hterrolle [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 28. März 2003 12:25
An: [EMAIL PROTECTED]
Betreff: [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