[Archive] Out of Memory Error - Solution

Message by abul anuar:
Hi All,
I’ve found how to increase the maximum memory for the program. Just go to the installation folder /ThirdPart/Jython/Jython2.2/ and find a file name jython.bat.
Edit the file (right click, edit) and you can see in the second last line something like
“…\JVM\Windows\jre\bin\java.exe” -Xmx512m " etc…
change the 512 to the amount that you think is enough, let say 2048 (dont forget the m at the end).
“…\JVM\Windows\jre\bin\java.exe” -Xmx1024m ".
save the file and run your spis again. let see how much memory can the program use before it return the out of memory error (try looking at the memory monitor tool).
If you can afford more memory, why don’t change it to higher value.