RE: Profiling using OFBiz

2010-03-18 Thread Neha Mehta
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 - LT Infotech | Mumbai
Contact : 02267954324


-Original Message-
From: Rodrigo Lima [mailto:acptecnolo...@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 jacques.le.r...@les7arts.com

 Also
 http://n4.nabble.com/forum/Search.jtp?local=yforum=135036query=profiling

 Jacques

 From: Jacques Le Roux jacques.le.r...@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

2010-03-17 Thread Brett Palmer
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=184406433dept_url=/java/

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

On Fri, Mar 12, 2010 at 7:10 AM, Neha Mehta neha.me...@lntinfotech.comwrote:

 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

2010-03-17 Thread Jacques Le Roux

Thanks Brett,

Very interesting!

Jacques

From: Brett Palmer brettgpal...@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=184406433dept_url=/java/

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

On Fri, Mar 12, 2010 at 7:10 AM, Neha Mehta neha.me...@lntinfotech.comwrote:


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

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

Harmeet

 
 From: Neha Mehta [neha.me...@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

2010-03-15 Thread Bhupendra Shivade
you can use probe application, which can be started from hot-deploy.

cheers

From: Neha Mehta [neha.me...@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


Profiling using OFBiz

2010-03-12 Thread 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
[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

2010-03-12 Thread Jacques Le Roux
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

2010-03-12 Thread Jacques Le Roux

Also http://n4.nabble.com/forum/Search.jtp?local=yforum=135036query=profiling

Jacques

From: Jacques Le Roux jacques.le.r...@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

2010-03-12 Thread Rodrigo Lima
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 jacques.le.r...@les7arts.com

 Also
 http://n4.nabble.com/forum/Search.jtp?local=yforum=135036query=profiling

 Jacques

 From: Jacques Le Roux jacques.le.r...@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.

  __