-1

Possible Duplicate:
Dealing with “java.lang.OutOfMemoryError: PermGen space” error

In Catalina.out log, I am getting the below mentioned exception. Application is too slow. java.lang.OutOfMemoryError:PermGen space

What I need to do?

4
  • what type of application, please describe properly Commented Aug 8, 2012 at 5:37
  • The applications deployed in tomcat are too slow Commented Aug 8, 2012 at 5:42
  • You are using more memory than you have. It is possible you have a memory leak. Commented Aug 8, 2012 at 5:42
  • 1
    Application too slow -> profile application and improve performance Commented Aug 8, 2012 at 5:46

1 Answer 1

0

Try increasing the heap size.

Maybe this:

export CATALINA_OPTS="-Xms1024m -Xmx2048m"

and then use VisualVM to track memory usage:

http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/intro.html

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.