Hello,
I increased heap size up to 512MB, but the problem still exist.
I should say that I tested in IDEs' IntelliJIDEA and Jbuider2005. and I modified their config files and changed -Xmx parameter.
Is it possible that it doesn't change the JVM parameter ?
And also I used System.gc() , and now I can load more objects.
Have you another solution to remove OutOfMemory problem?
Best regards,
Saeed
Hrvoje Smolic <[EMAIL PROTECTED]> wrote:
Hrvoje Smolic <[EMAIL PROTECTED]> wrote:
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>
ToJAVA3D-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".
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone. =========================================================================== 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".