javaw.exe is taking up huge CPU resources for export

Questions about YourKit .NET Profiler
Post Reply
sandeep
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

javaw.exe is taking up huge CPU resources for export

Post by sandeep »

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?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

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

Post by Anton Katilin »

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?
sandeep
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

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

Post by sandeep »

It completes in just a few seconds.

I guess your email provider is filtering my emails to [email protected]. I'm still waiting for a reply from you on an estimated date for adding memory allocation reset feature to API.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

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

Post by Anton Katilin »

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.
sandeep
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

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

Post by sandeep »

Would it be possible to get an ETA on that?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

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

Post by Anton Katilin »

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()
sandeep
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

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

Post by sandeep »

wow! Thanks
Post Reply