You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Skip <sk...@thedevers.org> on 2012/07/27 20:12:34 UTC

Debugging a memory leak

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?


RE: Debugging a memory leak

Posted by Skip <sk...@thedevers.org>.
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:jacques.le.roux@les7arts.com]
Sent: Friday, July 27, 2012 2:36 PM
To: user@ofbiz.apache.org
Subject: Re: Debugging a memory leak


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

Jacques

From: "Skip" <sk...@thedevers.org>
> 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: deepak.agarwal@paxcel.net [mailto:deepak.agarwal@paxcel.net]On
> Behalf Of Deepak Agarwal
> Sent: Friday, July 27, 2012 11:57 AM
> To: user@ofbiz.apache.org
> Subject: Re: Debugging a memory leak
>
>
> visualvm
>
> On Fri, Jul 27, 2012 at 11:42 PM, Skip <sk...@thedevers.org> 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: deepak.agarwal@paxcel.net
>> Mobile: +91 9910322604
>>
>>
>


Re: Debugging a memory leak

Posted by Jacques Le Roux <ja...@les7arts.com>.
Try this http://www.eclipse.org/mat/

Jacques

From: "Skip" <sk...@thedevers.org>
> 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: deepak.agarwal@paxcel.net [mailto:deepak.agarwal@paxcel.net]On
> Behalf Of Deepak Agarwal
> Sent: Friday, July 27, 2012 11:57 AM
> To: user@ofbiz.apache.org
> Subject: Re: Debugging a memory leak
> 
> 
> visualvm
> 
> On Fri, Jul 27, 2012 at 11:42 PM, Skip <sk...@thedevers.org> 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: deepak.agarwal@paxcel.net
>> Mobile: +91 9910322604
>>
>>
>

RE: Debugging a memory leak

Posted by Skip <sk...@thedevers.org>.
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: deepak.agarwal@paxcel.net [mailto:deepak.agarwal@paxcel.net]On
Behalf Of Deepak Agarwal
Sent: Friday, July 27, 2012 11:57 AM
To: user@ofbiz.apache.org
Subject: Re: Debugging a memory leak


visualvm

On Fri, Jul 27, 2012 at 11:42 PM, Skip <sk...@thedevers.org> 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: deepak.agarwal@paxcel.net
> Mobile: +91 9910322604
>
>


Re: Debugging a memory leak

Posted by Deepak Agarwal <da...@gmail.com>.
visualvm

On Fri, Jul 27, 2012 at 11:42 PM, Skip <sk...@thedevers.org> 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: deepak.agarwal@paxcel.net
> Mobile: +91 9910322604
>
>