Saeed, textures consume much memory in Java. You should increase heap size of your application by argument -Xmx128m or -Xmx256m...
So:
        java -Xmx256m YourClass



Saeed Ansari <[EMAIL PROTECTED]>
Sent by: Discussion list for Java 3D API <JAVA3D-INTEREST@JAVA.SUN.COM>

09.06.2005 19:13

Please respond to
Discussion list for Java 3D API <JAVA3D-INTEREST@JAVA.SUN.COM>

To
JAVA3D-INTEREST@JAVA.SUN.COM
cc
Subject
[JAVA3D] Memory problem





Hello all,
I have loaded about 180 vrml object ( .wrl format ).When I load the textures I get the OutOfMemoryException, but without texture it works well.Each object has a 3KB texture.
My RAM is 1.0 GB .
What should I do to remove memory this problem ?
 
Regards,
Saeed


Discover Yahoo!
Find restaurants, movies, travel & more fun for the weekend.
Check it out! =========================================================================== 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".

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