-----Urspr�ngliche Nachricht-----
Von: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]Im Auftrag von Mohammed Akacem
Gesendet: Wednesday, November 01, 2000 4:35 PM
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] OutOfMemoryError <<no stack trace available>>


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


-----------------------------
hi Mohammed

i don't have any idea what the reason could be. In fact i described the same
problem already some time earlier. But the more people ask, the better
chance we have to get an answer (maybe someone from sun could do this?). I
also hope, that someone has any ideas and post my original message again:

hi all

i have a problem and don't know how to solve it. When i try to load special
VRML files(>4MB) i get a
Exception in thread "main" java.lang.OutOfMemoryError
        <<no stack trace available>>

i have set the -mx256m option to increase the HeapSize!! The Memory
footprint for the VM process reported a mem usuage of only 75MB.

If anybody could give me a hint how to get rid of this problem or at least
some possible reasons, it would be wonderfull.

My system: NT 4.0 Service Pack 5
                256 MB RAM
                JRE 1.3
                Java3D 1.2 OpenGL

thanks a lot

Alexander Wojnar

===========================================================================
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".

Reply via email to