-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?

Community
  • 1
  • 1
Venkatesh
  • 109

1 Answers1

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

Edmon
  • 4,752
  • 4
  • 32
  • 42