What do I do if I am receiving errors referring to 'Out Of Memory', or 'PermGen space'. I am running Tomcat as a service on Windows.

You need to change the Tomcat memory settings to allocate more memory. This should have been done when Asset Bank was installed - it is mentioned in the installation instructions and in the advanced Installation page.

First run the tomcat6w.exe program (double click) and go to the Java tab. On the Java tab, set values for the memory pool. We recommend the default settings below:

You will also need to set the MaxPermSize in the Java Options enter "-XX:MaxPermSize=256m" as above.

You can also set other parameters here - however typing memory parameters directly into the Java Options tab does not always seem to work properly.

Alternatively you can run the following in a command prompt under [tomcat home]\bin:

  • tomcat6 //US//Tomcat6 ++JvmOptions="-XX:MaxPermSize=256m"

Please restart the Tomcat service for the changes to take effect.

Was this article helpful?

Yes No

Thanks for your feedback!