Ogre XML out of memory

Hi erveryone, i’m new here and with jm2.

I’m using jme 2.0.1 and when I open an ogre xml of 6000 polys i get an “out of memory” exception.

The file is created with 3ds max and exported with ogremax.

I’m using a system with 2GB ram with netBeans. It’s not a lot but should be enough for just one 6K polys model…

Deleting some submeshes of the XML works well. Should I use a binary format to use less memory when opening the file?



The jtry highering the ram of the jvm, be default depending on system and jvm vendor it could be as less as 64mb. -Xmx1024m

Thanks a lot!! :slight_smile:

working now!