Java.lang.OutOfMemoryError: Java heap space

Just learning jMonkeyPlatform (especially for Blender)

I am looking at the number of JmeTests



got an error in TestAssetLinkNode.java line

//loaderNode.addLinkedChild(new AssetKey(“Models/MonkeyHead/MonkeyHead.mesh.xml”));

change needed?! here!

loaderNode.addLinkedChild(new ModelKey(“Models/MonkeyHead/MonkeyHead.mesh.xml”));



Now no error is shown.

But got out of heap space error



Where may I increase this in the jMonkeyPlatform??



New year is her 8 hours away … good wishes for 2011

Peter

You can increase the memory with the normal java command line switches in the project properties (right-click project and select Properties).

OK, thanks, something in the Run part -Xms1024m -Xmx1024m (search on the WWW and found some advice)

Now no heap space error occurs …