Mark,

Any chance we could make a headstart on "Resolving OOM-PermGen errors on webapp reload" ?? Perhaps some general pointers, guidance etc. [to help you refine the talk in advance :-) ]
The manager app is giving me more & more of:
FAIL - Application at context path /ctx could not be started
FAIL - Encountered exception java.lang.OutOfMemoryError: PermGen space
This is on a Tomcat 6.0.18 (java 1.5) running on a remote Linux CentOS 5, in a Parallels VM, with httpd + mod_jk, running two versions of the app. Total memory available is 432 MB, with a number of non-system, non-TC processes, including ActiveMQ and 9 Postres processes. But there appears to be about 200MB of unused memory according to the Parallels control panel. I develop locally on a Mac OS/X 10.5.6 box with 4GBmem using (My)Eclipse and Tomcat 6.0.18 directly. With lots & lots of reloads, I'm not surprised that I eventually hit OOM PermGen space in this setting, but it happens much less often than on the CentOS box (of course 4GB != 432MB).
Thanks...Ken
Mark Thomas wrote:
I was at a conference recently and rather rashly made the statement "OOM
PermGen errors on reload are an application issue, not a Tomcat one".
Several people came up to me afterwards with variations on a theme of
"Our app has OOM on reload - put your money where your mouth is and show
us where we have gone wrong"

Having helped several people track down the causes of these errors (and
yes they were all application issues) it occurred to me that there may
be interest in this at ApacheCon. So my suggestion is:

Title:    Resolving OOM-PermGen errors on webapp reload
Type:     Session
Abstract: What causes the error. Typical root causes.
          How to find and fix the root causes. With live demo.
Audience: Developer/SysAdmin

Thoughts?

Mark


Reply via email to