I am viewing a big visual object. In my code I am invoking the garbage
collector and checking if I always have available memory as follow.
Runtime.getRuntime().gc();
System.out.println (" totalMemory() after gc()="
+Runtime.getRuntime().totalMemory());
System.out.println (" freeMemory() after gc()="
+Runtime.getRuntime().freeMemory());
In the java plugin I have set the java runtime parameters as follow:
Xms150m Xmx150m
I have 256M and NT 4.0
output:
totalMemory() after gc()=66846720
freeMemory() after gc()=52669640
Exception occurred during event dispatching:
java.lang.OutOfMemoryError
<<no stack trace available>>
Any Idea to solve this probleme?
Thanks
Mohammed
===========================================================================
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".