I've received a couple of questions along the same lines of late, and
am posting the answer here for later reference.
To alleviate the "Out of memory" errors in your java gui when you have
too many components * their scenarios, use the -Xmx and -Xms
parameters of java as shown below. The example below is an example
run.cmd file you might use . Note in the example below we are opening
it up to 512 megs, but, you canspecify as much as your system will
permit (also of note, the semicolons in the second line pertain to
Windows. Use straight colons for Linux variants):
java JarUpdater LSP.jar
http://ralphvince.com/LSP.jar
java java -Xms512m -Xmx512m -classpath-classpath
LSP.jar;RalphVince.jar;jdom.jar;log4j.jar;TableLayout.jar
com.leveragespacemodel.LevarageSpaceModel pro=true plus=true
targetreturn=.0 zminusmin=-1.0