0

The PS Perm Gen in Apache Tomcat occupies nearly 97%(80.7MB out of 82MB space allocated) as soon as the server is started. In course of time, the server goes down with Out Of Memory Error.

Is this normal ? or the value has to be less at the start and gradually increases? What should be done to avoid this? Can someone please explain . Thanks in advance :)

1
  • that's way too less than mine, which takes around 300-500 when starting. Nov 13, 2013 at 5:13

1 Answer 1

0

Yes, that sounds perfectly normal for a large web application.

The solution is to increase the size of the Perm Gen.

The problem is that your application needs to load more classes that you have space to load. Therefore you have to allocate more space in the Perm Gen to enable these classes to load. How much space will depend on your app. I'd start at 128M and double it until the application is stable.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.