On 7/11/06, Steve Shucker <[EMAIL PROTECTED]> wrote:

Sam -

I think you're referring to the tomcat PermGen OutOfMemory errors, which
doesn't sound like what Henri is describing.  But since you've brought it
up, a good workaround for the PermGen errors you get when you redeploy is
the following flag:

-XX:MaxPermSize=128m


After looking at the heap dump, unless you have the ognl jar inside the war
file, I bet the app will start leaking memory. Ognl has several static
caches that might not get cleaned up on a redeployment.
Anyway if you are leaking memory, the new jhat and jmap tools are fantastic
to locate the cause. Here is an article to get started with them
http://weblogs.java.net/blog/jfarcand/archive/2006/02/using_mustangs.html

Thanks,

Henri.

Reply via email to