Profiling using OFBiz

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

Profiling using OFBiz

Neha Mehta

  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.

______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Jacques Le Roux
Administrator
http://ofbiz.markmail.org/search/profiling

Jacques
  ----- Original Message -----
  From: Neha Mehta
  To: [hidden email]
  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.

  ______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Jacques Le Roux
Administrator
Also http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling

Jacques

From: "Jacques Le Roux" <[hidden email]>
http://ofbiz.markmail.org/search/profiling

Jacques
  ----- Original Message -----
  From: Neha Mehta
  To: [hidden email]
  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.

  ______________________________________________________________________


Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Rodrigo Lima-2
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 <[hidden email]>

> Also
> http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling
>
> Jacques
>
> From: "Jacques Le Roux" <[hidden email]>
>
> http://ofbiz.markmail.org/search/profiling
>
> Jacques
>  ----- Original Message -----  From: Neha Mehta
>  To: [hidden email]
>  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.
>
>  ______________________________________________________________________
>
>
>
Reply | Threaded
Open this post in threaded view
|

RE: Profiling using OFBiz

Bhupendra
In reply to this post by Neha Mehta
you can use probe application, which can be started from hot-deploy.

cheers
________________________________
From: Neha Mehta [[hidden email]]
Sent: Friday, March 12, 2010 6:40 PM
To: [hidden email]
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
Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Harmeet Bedi
Found jprofiler very effective. though a bit expensive
http://www.ej-technologies.com/products/jprofiler/overview.html

Harmeet

> ________________________________
> From: Neha Mehta [[hidden email]]
>   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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Brett
In reply to this post by Neha Mehta
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 <[hidden email]>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.
>
> ______________________________________________________________________
>
Reply | Threaded
Open this post in threaded view
|

Re: Profiling using OFBiz

Jacques Le Roux
Administrator
Thanks Brett,

Very interesting!

Jacques

From: "Brett Palmer" <[hidden email]>
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 <[hidden email]>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.
>
> ______________________________________________________________________
>


Reply | Threaded
Open this post in threaded view
|

RE: Profiling using OFBiz

Neha Mehta
In reply to this post by Rodrigo Lima-2
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:[hidden email]]
Sent: Friday, March 12, 2010 8:35 PM
To: [hidden email]; 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 <[hidden email]>

> Also
> http://n4.nabble.com/forum/Search.jtp?local=y&forum=135036&query=profiling
>
> Jacques
>
> From: "Jacques Le Roux" <[hidden email]>
>
> http://ofbiz.markmail.org/search/profiling
>
> Jacques
>  ----- Original Message -----  From: Neha Mehta
>  To: [hidden email]
>  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.

______________________________________________________________________