OgreXML Size Limitations?

I'm using OgreLoader to load some 3D files in the mesh.xml format…



I've got 3 different files, an 8kb cube, a 6mb building model, and a 25mb model of a part of NYC… 



The 8kb loads and looks fine, the 6mb and 25mb both crash with out of heap space error…  I've set java to use 768mb (eclipse won't start with 1gb for some reason)… this should be more than enough to read a 6mb file (i can understand the bigger one being a stretch)…



So, are there known limitations on file sizes?  I can load comparable obj's usually without problem but am trying to migrate things to Ogre as it's easier on our work pipeline…

Certainly not a problem I was aware of  :expressionless:

I suspect its the XML API that is being used consumes too much memory for parsing the XML.

Momoko_Fan said:

Certainly not a problem I was aware of  :|
I suspect its the XML API that is being used consumes too much memory for parsing the XML.


aye, that's where the console tells me it's crashing...  ::shakes fist @Gosling::