At work, we\'ve been having a problem with \"PermGen out of memory\" exceptions, with the team lead deciding it was a bug in the JVM - something related to hot-deployment of
Sun JVM has PermGen space fixed, and eventually it's all consumed (yes, apparently due to a bug in classloader-related code) => OOM.
If you can use another vendor's JVM (e.g. Weblogic one), it dynamically extends PermGen space, so you'll never get permgen-related OOM.