Re: [JAVA3D] I cant to clean the memory when I use in two times this code

2004-07-01 Thread Adam B
object = null; System.gc(); try this. you must first set object, that you want to remove, to null. then you can use System.gc(); === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signo

Re: [JAVA3D] I cant to clean the memory when I use in two times this code

2004-06-25 Thread Alessandro Borges
that 500x500 array doesnot help a bit.If poosible lower down. And make remove destroy the JMainFrame For solve the "out of memory", besides a clean code management, there are 2 easy solutions: * Solution 1: add a -Xmx parameter, this way java -Xmx380m MyClass where 380m means the java memory ca

[JAVA3D] I cant to clean the memory when I use in two times this code

2004-06-25 Thread Rafael A. Osuna
When i try to use this code in two times or i call the class "MapaAltura" in two times, i receive the OutOfMemory message. I dont know what to do, to clean up or clear the SimpleUniverse when i call the class for second time. this is the code. Urgent please!!! //Main Class public class MainMapa