Skip to main content
Inspiring
June 11, 2009
Question

Java.lang.OutOfMemoryError:PermGen space error

  • June 11, 2009
  • 2 replies
  • 2478 views

We haven't been able to go live with our help systems on RoboHelp Server 8 yet due to some major memory issues with Tomcat/RoboHelp Server. We've been working with Tulika on this issue, but I just wanted to check in and see if anyone else here has experienced such a thing, and if so....what did you do to fix it?

After installing the server, having it up and running for a few months, and posting help systems to the server....it suddenly has serious memory issues that are making it crash.

We were advised to configure the maximum and minimum heap space setings for Initial memory pool and maximum memory pool both to the following: 256, 512, 768 and 1024. 

We are receiving the java.lang.OutOfMemoryError: PermGen space error when increasing the setting to 512.  When trying to increase the setting to 768 or 1024 Apache Tomcat uses 100% of the CPU and then stops after about a minute.  When trying to start the service back up it spikes to 100% CPU usage and then dies again. This happens continuously and makes it so the services constantly stop! If you try to hit a site that is hosted on the RH 8 Server it causes it to spike and crashes.

Overview:

Software being used Adobe Robohelp8 and Apache Tomcat 6.0.

We have around 11 sites being hosted on Robohelp8.

Server specs are 2.93GHz processor and 4G RAM.

This topic has been closed for replies.

2 replies

tuls_garg
Inspiring
September 1, 2009

Hi jdcyclone1,

You need to increase PermSpace available to your tomcat. You can do that using <tomcat-install-dir>/bin/tomcat6w.exe

Just ensure that your “Maximum memory pool” and “XX:MaxPermSize” should not add up to more than actual memory you can make available to tomcat. The setting is as shown in this snapshot:

Inspiring
September 1, 2009

Thanks Tulika!

We implemented the change on our server the other day and so far it seems to be running well! No blow ups thus far. I'm crossing my fingers that it's never going to have troubles again.

Inspiring
June 11, 2009

Would a random &#160; that isn’t between <p> tags in the code, and is just by itself cause issues? One of our Tomcat logs mentions a certain topic in a project throwing an error and it’s the only issue I can find in the topic that is at all suspect. There are lots of &#160’s throughout the project outside of p tags…..any knowledge of this causing blow ups??