users@glassfish.java.net

Re: memory leaks on redeploys

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Tue, 8 Nov 2011 16:59:03 -0800 (PST)

Can you share the exception stack trace in this case?

Shing Wai Chan

----- Original Message -----
From: hong.hz.zhang_at_oracle.com
To: users_at_glassfish.java.net
Sent: Monday, November 7, 2011 11:25:23 PM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi
Subject: Re: memory leaks on redeploys

As you cannot share application, can you do a little more investigation
from your side with your real production application to see what
object(s) were leaking during redeployment?

Thanks,

- Hong

On 11/6/2011 10:31 AM, Radim Kolar wrote:
> I tested memory leaks on redeploys with empty application made by
> grails 2.0. Just run: grails create-app leakdemo;grails war
> applications has extensive set of libraries included - springs,
> groovy, hibernate... and while monitoring glassfish via jconsole it
> didnt discovered any memory leaks on redeploys even after 20x redeploy.
>
> But using our real production application which is very similar to
> included jars with exception sun SAAJ libs + springws added. it leaks
> memory on redeploys. i have no war which i can share with public to
> reproduce that problem.