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
|
- Re: [JAVA3D] AW: [JAVA3D] Memory problem Florin Herinean
- Re: [JAVA3D] AW: [JAVA3D] Memory problem hterrolle
- [JAVA3D] AW: [JAVA3D] Memory Problem Florin Herinean