How to user TPTP to find Perm Gen leak? [message #120044] |
Thu, 03 January 2008 10:47 |
Eclipse User |
|
|
|
Originally posted by: goncalvesl.gmail.com
Sorry my newbie question, but is there anyway to discovery perm gen leak
with TPTP. My web application is putting around 16bytes per minute in perm
memory doing simple requests to the same URL. I need discovery which kind
of object are filling my perm memory and where in my code is putting them!
I played with TPTP, using Memory statics but it didn't help enough.
|
|
|
Re: How to user TPTP to find Perm Gen leak? [message #120055 is a reply to message #120044] |
Thu, 03 January 2008 12:32 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Lucas,
I don't have a good answer, but as far as I understand it, it's likely
that this type of leak is related to class loading so perhaps by finding
java.lang.Class instances that are leaking you'll get to the root of the
problem. Of course I could be wrong...
Lucas Gonçalves wrote:
> Sorry my newbie question, but is there anyway to discovery perm gen
> leak with TPTP. My web application is putting around 16bytes per
> minute in perm memory doing simple requests to the same URL. I need
> discovery which kind of object are filling my perm memory and where in
> my code is putting them!
>
> I played with TPTP, using Memory statics but it didn't help enough.
>
>
>
|
|
|
Re: How to user TPTP to find Perm Gen leak? [message #120075 is a reply to message #120055] |
Thu, 03 January 2008 14:13 |
Eclipse User |
|
|
|
Originally posted by: goncalvesl.gmail.com
Thanks Merks,
but the problem isn't class loader. I've monitored my app with jconsole
and the number of class loaded is constant! I think that is reflections
made by hibernate, jsf, jboss seam and my own app. But using jconsole and
TPTP memory statics couldn't help me to track which of them is the problem!
|
|
|
Re: How to user TPTP to find Perm Gen leak? [message #120089 is a reply to message #120075] |
Thu, 03 January 2008 14:35 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Lucas,
Just a thought. I believe that other JVMs like the IBM one don't have
permgen space and hence wouldn't have this type of problem. I.e., the
problem might well be a bug in the JVM itself for all I know. I can
imagine that providing support to track permgen space with it's a
JVM-specific implementation technique might prove difficult. I wonder
if there are any tools for tracking it...
Lucas Gonçalves wrote:
> Thanks Merks,
>
> but the problem isn't class loader. I've monitored my app with
> jconsole and the number of class loaded is constant! I think that is
> reflections made by hibernate, jsf, jboss seam and my own app. But
> using jconsole and TPTP memory statics couldn't help me to track which
> of them is the problem!
>
>
>
|
|
|
Re: How to user TPTP to find Perm Gen leak? [message #120116 is a reply to message #120044] |
Thu, 03 January 2008 14:47 |
Eclipse User |
|
|
|
Originally posted by: sdiz.spspam.spam.sdiz.spam.net
Lucas Gonçalves wrote:
> Sorry my newbie question, but is there anyway to discovery perm gen leak
> with TPTP. My web application is putting around 16bytes per minute in perm
> memory doing simple requests to the same URL. I need discovery which kind
> of object are filling my perm memory and where in my code is putting them!
>
> I played with TPTP, using Memory statics but it didn't help enough.
>
try to track calls to String#intern()
--
This space was intended to be left blank.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03393 seconds