Debugging a memory leak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging a memory leak

SkipDever
I am trying to track down a nagging memory leak.  This is running on Windows
JDK 1.6.  It has the same memory leak on Centos.

I am trying to get a heap dump using jmap, but get the following error:

<pid> "no providers installed"

Anyone know how to get lib\tools.jar loaded or an alternative way to get a
heap dump?

Reply | Threaded
Open this post in threaded view
|

Re: Debugging a memory leak

Deepak Agarwal-2
visualvm

On Fri, Jul 27, 2012 at 11:42 PM, Skip <[hidden email]> wrote:

> I am trying to track down a nagging memory leak.  This is running on
> Windows
> JDK 1.6.  It has the same memory leak on Centos.
>
> I am trying to get a heap dump using jmap, but get the following error:
>
> <pid> "no providers installed"
>
> Anyone know how to get lib\tools.jar loaded or an alternative way to get a
> heap dump?
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Debugging a memory leak

SkipDever
Installed this really cool looking application, read the docs and started
it.

When selecting ofbiz.jar, it tells me that it is not running a supported jvm
(1.6 or 1.7).  However, it is in fact running jdk 1.6.  Any ideas?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]On
Behalf Of Deepak Agarwal
Sent: Friday, July 27, 2012 11:57 AM
To: [hidden email]
Subject: Re: Debugging a memory leak


visualvm

On Fri, Jul 27, 2012 at 11:42 PM, Skip <[hidden email]> wrote:

> I am trying to track down a nagging memory leak.  This is running on
> Windows
> JDK 1.6.  It has the same memory leak on Centos.
>
> I am trying to get a heap dump using jmap, but get the following error:
>
> <pid> "no providers installed"
>
> Anyone know how to get lib\tools.jar loaded or an alternative way to get a
> heap dump?
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Debugging a memory leak

Jacques Le Roux
Administrator
Try this http://www.eclipse.org/mat/

Jacques

From: "Skip" <[hidden email]>

> Installed this really cool looking application, read the docs and started
> it.
>
> When selecting ofbiz.jar, it tells me that it is not running a supported jvm
> (1.6 or 1.7).  However, it is in fact running jdk 1.6.  Any ideas?
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]On
> Behalf Of Deepak Agarwal
> Sent: Friday, July 27, 2012 11:57 AM
> To: [hidden email]
> Subject: Re: Debugging a memory leak
>
>
> visualvm
>
> On Fri, Jul 27, 2012 at 11:42 PM, Skip <[hidden email]> wrote:
>
>> I am trying to track down a nagging memory leak.  This is running on
>> Windows
>> JDK 1.6.  It has the same memory leak on Centos.
>>
>> I am trying to get a heap dump using jmap, but get the following error:
>>
>> <pid> "no providers installed"
>>
>> Anyone know how to get lib\tools.jar loaded or an alternative way to get a
>> heap dump?
>>
>> --
>> Thanks,
>> Deepak Agarwal,
>>
>> Paxcel Technologies Pvt Ltd.
>> Hartron Complex, Sector 18, Gurgaon, India.
>> E-Mail: [hidden email]
>> Mobile: +91 9910322604
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

RE: Debugging a memory leak

SkipDever
Just for some feedback on this topic, it turns out that the jdk 1.6.0_02
version I was using was not sufficient.  I downloaded the latest 1.6.0_33
and visualVm works a charm.  I have a heap dump and after running a few
days, expect to get some results.

Jacques tool looks really nice, but requires a heap dump.

Thanks for the suggestions.

-----Original Message-----
From: Jacques Le Roux [mailto:[hidden email]]
Sent: Friday, July 27, 2012 2:36 PM
To: [hidden email]
Subject: Re: Debugging a memory leak


Try this http://www.eclipse.org/mat/

Jacques

From: "Skip" <[hidden email]>
> Installed this really cool looking application, read the docs and started
> it.
>
> When selecting ofbiz.jar, it tells me that it is not running a supported
jvm

> (1.6 or 1.7).  However, it is in fact running jdk 1.6.  Any ideas?
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]On
> Behalf Of Deepak Agarwal
> Sent: Friday, July 27, 2012 11:57 AM
> To: [hidden email]
> Subject: Re: Debugging a memory leak
>
>
> visualvm
>
> On Fri, Jul 27, 2012 at 11:42 PM, Skip <[hidden email]> wrote:
>
>> I am trying to track down a nagging memory leak.  This is running on
>> Windows
>> JDK 1.6.  It has the same memory leak on Centos.
>>
>> I am trying to get a heap dump using jmap, but get the following error:
>>
>> <pid> "no providers installed"
>>
>> Anyone know how to get lib\tools.jar loaded or an alternative way to get
a

>> heap dump?
>>
>> --
>> Thanks,
>> Deepak Agarwal,
>>
>> Paxcel Technologies Pvt Ltd.
>> Hartron Complex, Sector 18, Gurgaon, India.
>> E-Mail: [hidden email]
>> Mobile: +91 9910322604
>>
>>
>