Im getting java.lang.OutOfMemoryError: Java heap space errors when running large scripts. How can I increase the amount of Java heap space?
You should be able to increase the Java heap space allocated for PesterCat by completing the following steps: • Create an empty text file named PesterCat.vmoptions in the directory you installed PesterCat. Normally this is the ‘C:\Program Files\PesterCat’ directory on Windows. • Add the following line into the newly created PesterCat.vmoptions file: -Xmx512m • Save the PesterCat.vmoptions file. • Restart PesterCat. This should increase the java heap space to 512 Megs of memory when running PesterCat (the default is 128m). This increases memory when running with the PesterCat GUI only. See this for information on how to alter memory settings for long running PesterCat Ant Tasks.