How do I increase the amount of RAM for the JVM

ScenePainter is a very resource intensive software and requires a lot of RAM to be available to it. By default, Java only reserves 128 MB of RAM, which is enough for doing basic things. Vast scenes and animation, however, have higher demands. To increase the amount of RAM, available to the JVM, start ScenePainter as follows:

java -Xmx512m -jar scenepainter.jar