You should allocate more space for PermGenSpace for the tomcat JVM.
This can be done using the JVM argument: -XX:MaxPermSize=128m
By default, the PermGen space is 64M (and it contains all the compiled classes, so if you have a lot of jar (classes) in your class path, you can really fill that space).
On a side note, you can control the size of the PermGen space using JVisualVM , and you can even check its contents using YourKit Java Profiler
source share