hilka
Power User
Joined: 23/11/2007 09:00:08
Messages: 191
Offline
|
We had the problem that we got a OutOfMemoryException (PermGenSpace) after two refreshs (the right refresh button in the jsp view) from Captain casa's development workspace.
I found a solution for this problem: just increase the size of the MaxPermGenSpace (default 64M) to some higher amount. Afterwards, this Exception will occur later, but sometimes it is good to restart the tomcat anyways ;-)...
The problem is that Tomcat holds all class information in this area and does not clean this properly upon a reload.
To increase the amount of memory just add -XX:MaxPermSize=256m to your Tomcat vm.
More information can be found in Tomcat wiki. Search for OutOfMemory.
Tobias
|