Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to user TPTP to find Perm Gen leak?
How to user TPTP to find Perm Gen leak? [message #120044] Thu, 03 January 2008 10:47 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: How to user TPTP to find Perm Gen leak? [message #120204 is a reply to message #120116] Fri, 04 January 2008 10:24 Go to previous message
Eclipse UserFriend
Originally posted by: goncalvesl.gmail.com

How can i track String.intern()? Which is the best way using TPTP?
Previous Topic:Can't get TPTP Profiler working
Next Topic:[asf] query test result and generate report from ant
Goto Forum:
  


Current Time: Thu Dec 26 14:39:23 GMT 2024

Powered by FUDForum. Page generated in 0.03725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top