Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im getting java.lang.OutOfMemoryError: Java heap space errors when running large scripts. How can I increase the amount of Java heap space?

0
Posted

Im getting java.lang.OutOfMemoryError: Java heap space errors when running large scripts. How can I increase the amount of Java heap space?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123