You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Neha Mehta <Ne...@lntinfotech.com> on 2010/03/12 14:10:36 UTC

Profiling using OFBiz

  Hi,

 I need to check memory leaks, memory profiling and cpu profiling with OFBiz.
 Can anyone suggest me the best tool for  OFBiz profiling...

 Can I create core dumps and find cpu usage by OFBiz??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Regards,
Neha Mehta
[cid:image002.jpg@01CAC213.80D4D740]<http://www.lntinfotech.com/>


________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

Re: Profiling using OFBiz

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Brett,

Very interesting!

Jacques

From: "Brett Palmer" <br...@gmail.com>
Neha,

I posted this message a few months ago about some profiling probes we wrote
to measure method times.  They work pretty well and allow you specify what
you want to profile (e.g. com.mycode.* or org.ofbiz.entity, etc).

I've been meaning to contribute these tools back with instructions on how to
use them.  I'll open a JIRA issue when I can get this complete.

Brett

/*****************************************/

We have been experimenting with the TPTP tools from eclipse to find
performance bottlenecks.  The tool let's you create your own custom probes
that can be inserted at run time into your deployed application.  The nice
thing about these custom probes are they don't create a large footprint like
so many other profiling tools.

http://www.eclipse.org/tptp/

Here are some other links you may find helpful:


Brett


Articles on Eclipse Test and Performance Tools Platform

http://www.eclipse.org/tptp/

http://www.vogella.de/articles/EclipseTPTP/article.html

http://docs.hp.com/en/JAVAPERFTUNE/

Good article for WebSphere/ZOS with Sample probe code
- http://www.redbooks.ibm.com/abstracts/sg247177.html?Open

http://www.ddj.com/article/printableArticle.jhtml?articleID=184406433&dept_url=/java/

http://docs.hp.com/en/JAVAPERFTUNE/bytecode.pdf

On Fri, Mar 12, 2010 at 7:10 AM, Neha Mehta <Ne...@lntinfotech.com>wrote:

>     Hi,
>
>
>
>  I need to check memory leaks, memory profiling and cpu profiling with
> OFBiz.
>
>  Can anyone suggest me the best tool for  OFBiz profiling…
>
>
>
>  Can I create core dumps and find cpu usage by OFBiz??
>
>
>
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
>
> *Thanks & Regards,*
>
> *Neha Mehta*
>
> *[image: cid:image002.jpg@01CA7F33.59E3EE50]*<http://www.lntinfotech.com/>
>
>
>
> ------------------------------
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
> ______________________________________________________________________
>



Re: Profiling using OFBiz

Posted by Brett Palmer <br...@gmail.com>.
Neha,

I posted this message a few months ago about some profiling probes we wrote
to measure method times.  They work pretty well and allow you specify what
you want to profile (e.g. com.mycode.* or org.ofbiz.entity, etc).

I've been meaning to contribute these tools back with instructions on how to
use them.  I'll open a JIRA issue when I can get this complete.

Brett

/*****************************************/

We have been experimenting with the TPTP tools from eclipse to find
performance bottlenecks.  The tool let's you create your own custom probes
that can be inserted at run time into your deployed application.  The nice
thing about these custom probes are they don't create a large footprint like
so many other profiling tools.

http://www.eclipse.org/tptp/

Here are some other links you may find helpful:


Brett


Articles on Eclipse Test and Performance Tools Platform

http://www.eclipse.org/tptp/

http://www.vogella.de/articles/EclipseTPTP/article.html

http://docs.hp.com/en/JAVAPERFTUNE/

Good article for WebSphere/ZOS with Sample probe code
- http://www.redbooks.ibm.com/abstracts/sg247177.html?Open

http://www.ddj.com/article/printableArticle.jhtml?articleID=184406433&dept_url=/java/

http://docs.hp.com/en/JAVAPERFTUNE/bytecode.pdf

On Fri, Mar 12, 2010 at 7:10 AM, Neha Mehta <Ne...@lntinfotech.com>wrote:

>     Hi,
>
>
>
>  I need to check memory leaks, memory profiling and cpu profiling with
> OFBiz.
>
>  Can anyone suggest me the best tool for  OFBiz profiling…
>
>
>
>  Can I create core dumps and find cpu usage by OFBiz??
>
>
>
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
>
> *Thanks & Regards,*
>
> *Neha Mehta*
>
> *[image: cid:image002.jpg@01CA7F33.59E3EE50]*<http://www.lntinfotech.com/>
>
>
>
> ------------------------------
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
> ______________________________________________________________________
>

RE: Profiling using OFBiz

Posted by Neha Mehta <Ne...@lntinfotech.com>.
Hi ,

Thanks a lot for your replies. I have used Your Kit JProfiler for checking memory leaks in the application.
I find that Delegator, ModelReader and JobPoller objects hold the maximum place in the memory.
But how should I detect memory leak and which OFBiz objects are causing memory leaks??
How should I solve the memory leak probe, if exists???

Kindly help me if there are any documents or steps to perform this.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Regards,
Neha Mehta
Innovation Group - L&T Infotech | Mumbai
Contact : 02267954324


-----Original Message-----
From: Rodrigo Lima [mailto:acptecnologia@gmail.com]
Sent: Friday, March 12, 2010 8:35 PM
To: user@ofbiz.apache.org; Jacques Le Roux
Subject: Re: Profiling using OFBiz

Hi Neha,

Our team had serious problems with memory leaks for 2 main reasons:
1) Lack of knowledge of the correct use of the Entity Manager.
2) In cases of a large number of request.

We use the tool kit Your www.yourkit.com/java/profiler/ that helped us
Identifying critical points to refactor the source code.


2010/3/12 Jacques Le Roux <ja...@les7arts.com>

> Also
> http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>
> http://ofbiz.markmail.org/search/profiling
>
> Jacques
>  ----- Original Message -----  From: Neha Mehta
>  To: user@ofbiz.apache.org
>  Sent: Friday, March 12, 2010 2:10 PM
>  Subject: Profiling using OFBiz
>
>
>
>   Hi,
>
>
>
>  I need to check memory leaks, memory profiling and cpu profiling with
> OFBiz.
>
>  Can anyone suggest me the best tool for  OFBiz profiling.
>
>
>
>  Can I create core dumps and find cpu usage by OFBiz??
>
>
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>  Thanks & Regards,
>
>  Neha Mehta
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>  This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
>  ______________________________________________________________________
>
>
>


______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

Re: Profiling using OFBiz

Posted by Rodrigo Lima <ac...@gmail.com>.
Hi Neha,

Our team had serious problems with memory leaks for 2 main reasons:
1) Lack of knowledge of the correct use of the Entity Manager.
2) In cases of a large number of request.

We use the tool kit Your www.yourkit.com/java/profiler/ that helped us
Identifying critical points to refactor the source code.


2010/3/12 Jacques Le Roux <ja...@les7arts.com>

> Also
> http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling
>
> Jacques
>
> From: "Jacques Le Roux" <ja...@les7arts.com>
>
> http://ofbiz.markmail.org/search/profiling
>
> Jacques
>  ----- Original Message -----  From: Neha Mehta
>  To: user@ofbiz.apache.org
>  Sent: Friday, March 12, 2010 2:10 PM
>  Subject: Profiling using OFBiz
>
>
>
>   Hi,
>
>
>
>  I need to check memory leaks, memory profiling and cpu profiling with
> OFBiz.
>
>  Can anyone suggest me the best tool for  OFBiz profiling.
>
>
>
>  Can I create core dumps and find cpu usage by OFBiz??
>
>
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>  Thanks & Regards,
>
>  Neha Mehta
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>  This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
>  ______________________________________________________________________
>
>
>

Re: Profiling using OFBiz

Posted by Jacques Le Roux <ja...@les7arts.com>.
Also http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling

Jacques

From: "Jacques Le Roux" <ja...@les7arts.com>
http://ofbiz.markmail.org/search/profiling

Jacques
  ----- Original Message ----- 
  From: Neha Mehta
  To: user@ofbiz.apache.org
  Sent: Friday, March 12, 2010 2:10 PM
  Subject: Profiling using OFBiz



    Hi,



   I need to check memory leaks, memory profiling and cpu profiling with OFBiz.

   Can anyone suggest me the best tool for  OFBiz profiling.



   Can I create core dumps and find cpu usage by OFBiz??



  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  Thanks & Regards,

  Neha Mehta







------------------------------------------------------------------------------
  This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended 
recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

  ______________________________________________________________________



Re: Profiling using OFBiz

Posted by Jacques Le Roux <ja...@les7arts.com>.
http://ofbiz.markmail.org/search/profiling

Jacques
  ----- Original Message ----- 
  From: Neha Mehta 
  To: user@ofbiz.apache.org 
  Sent: Friday, March 12, 2010 2:10 PM
  Subject: Profiling using OFBiz


   
    Hi,

   

   I need to check memory leaks, memory profiling and cpu profiling with OFBiz.

   Can anyone suggest me the best tool for  OFBiz profiling. 

   

   Can I create core dumps and find cpu usage by OFBiz??

   

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  Thanks & Regards,

  Neha Mehta



   



------------------------------------------------------------------------------
  This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

  ______________________________________________________________________

Re: Profiling using OFBiz

Posted by Harmeet Bedi <ha...@gmail.com>.
Found jprofiler very effective. though a bit expensive
http://www.ej-technologies.com/products/jprofiler/overview.html

Harmeet

> ________________________________
> From: Neha Mehta [Neha.Mehta@lntinfotech.com]
>   Hi,
>
>  I need to check memory leaks, memory profiling and cpu profiling with
> OFBiz.
>  Can anyone suggest me the best tool for  OFBiz profiling…
>
>  Can I create core dumps and find cpu usage by OFBiz??
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Thanks & Regards,
> Neha Mehta
>
>

RE: Profiling using OFBiz

Posted by Bhupendra Shivade <Bh...@mindtree.com>.
you can use probe application, which can be started from hot-deploy.

cheers
________________________________
From: Neha Mehta [Neha.Mehta@lntinfotech.com]
Sent: Friday, March 12, 2010 6:40 PM
To: user@ofbiz.apache.org
Subject: Profiling using OFBiz

  Hi,

 I need to check memory leaks, memory profiling and cpu profiling with OFBiz.
 Can anyone suggest me the best tool for  OFBiz profiling…

 Can I create core dumps and find cpu usage by OFBiz??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Regards,
Neha Mehta
<http://www.lntinfotech.com/>


________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

________________________________
http://www.mindtree.com/email/disclaimer.html