Environment Profile:
- Tomcat: 7
- Java: 1.6
- IDE: Eclipse Juno
- OS: Windows 7 - 64bit
I'm getting the following PermGen exception when I have 2 Web Apps on the same Tomcat:
java.lang.OutOfMemoryError: PermGen space
Tomcat deploys fine without any errors however as soon as I try to access either of the Web Apps in the browser I get a PermGen space exception.
However if I deploy only 1 Web App on the Tomcat then everything seems fine.
I have tried increasing my PermGen size on the Tomcat config however I still get this exception.
Any ideas?