| Dealing with Java's PermGen space failure |
|
The "OutOfMemoryError: PermGen space" message is normally encountered during development activities where a JVM is asked to load and unload builds frequently and in a short time. This is pretty common when you have tools like Eclipse, and you're performing several deployments on Tomcat, while it is still running, which shouldn't be a problem when you are in your development box. The real problem appears when these errors show up in staging and/or production environments, where downtimes are extremely harmful. This message relates to an incomplete garbage collection process where resources are not properly released when unloaded or restarted. A lot of popular and well known tools face this problem from time to time, like Hibernate, Tomcat and even Sun's JVM. Also, this problem appears frequently when you're using Hudson as your CI server
. Hope it helps! Comments (0) |
