Tomcat application: Frequent OutOfMemory PermGen exception while image uploads

Posted by rabbit on Stack Overflow See other posts from Stack Overflow or by rabbit
Published on 2010-05-08T19:05:07Z Indexed on 2010/05/08 19:08 UTC
Read the original article Hit count: 189

Filed under:
|

Hi, I have a tomcat 6 application which I have set parameters of -Xms512m -Xmx1024m. I thought 1 GB of memory in a 4 GB RAM would be enough, but that is not the case. On application stop/start multiple times (from tomcat manager) and also on image uploads (sometimes) I run into the OutOfMemory PermGen space error and the site stops responding. Should I increase the memory still some more? Is there anything else that I can do to from the tomcat side so that it does not run into the PermGen space issue? Thanks in advance for pointers/tips etc.

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about permgen