Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

javaw.exe is taking up huge CPU resources for export

Moderators: Vladimir Kondratyev, Anton Katilin

javaw.exe is taking up huge CPU resources for export

Postby sandeep » Sun Oct 28, 2012 9:57 pm

At times, we need to export huge snapshot files to get some information out of it and generate other alerts. For eg: when a memory leak is detected.

We have notice that if we use the export functionality by command line and pass in a 1.5GB snapshot file, it is taking up huge memory and CPU which slows down the entire system.
Is there any way for YourKit to avoid using all the resources at once to export?
sandeep
 
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

Re: javaw.exe is taking up huge CPU resources for export

Postby Anton Katilin » Mon Oct 29, 2012 5:54 am

Processing a 1.5 GB snapshot is a huge task. It's OK that memory and CPU are used to load such snapshot and export its data.

If export takes much resources and hinders other tasks running on the machine, copy the snapshots to another machine, less busy and/or more powerful, and perform export on it.

Anyway, could you provide some numbers. How longs does the export take?
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am

Re: javaw.exe is taking up huge CPU resources for export

Postby sandeep » Mon Oct 29, 2012 6:08 am

It completes in just a few seconds.

I guess your email provider is filtering my emails to support@yourkit.com. I'm still waiting for a reply from you on an estimated date for adding memory allocation reset feature to API.
sandeep
 
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

Re: javaw.exe is taking up huge CPU resources for export

Postby Anton Katilin » Mon Oct 29, 2012 7:53 am

It completes in just a few seconds.
That shouldn't be too much for such big snapshots I guess.

I'm still waiting for a reply from you on an estimated date for adding memory allocation reset feature to API.
Could you please re-send it.

Anyway, we'll add Controller.ClearAllocationData() in next EAP build.
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am

Re: javaw.exe is taking up huge CPU resources for export

Postby sandeep » Tue Oct 30, 2012 5:56 am

Would it be possible to get an ETA on that?
sandeep
 
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

Re: javaw.exe is taking up huge CPU resources for export

Postby Anton Katilin » Tue Oct 30, 2012 8:08 am

Build 8006 is available for download:
http://www.yourkit.com/dotnet/eap

Please find the added Controller methods in the change list.

Important: the methods to start CPU profiling are now StartCPUSampling() and StartCPUTracing()
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am

Re: javaw.exe is taking up huge CPU resources for export

Postby sandeep » Tue Oct 30, 2012 5:48 pm

wow! Thanks
sandeep
 
Posts: 24
Joined: Wed May 16, 2012 3:08 pm


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron