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?
javaw.exe is taking up huge CPU resources for export
-
- Posts: 24
- Joined: Wed May 16, 2012 3:08 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: javaw.exe is taking up huge CPU resources for export
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?
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?
-
- Posts: 24
- Joined: Wed May 16, 2012 3:08 pm
Re: javaw.exe is taking up huge CPU resources for export
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.
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.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: javaw.exe is taking up huge CPU resources for export
That shouldn't be too much for such big snapshots I guess.It completes in just a few seconds.
Could you please re-send it.I'm still waiting for a reply from you on an estimated date for adding memory allocation reset feature to API.
Anyway, we'll add Controller.ClearAllocationData() in next EAP build.
-
- Posts: 24
- Joined: Wed May 16, 2012 3:08 pm
Re: javaw.exe is taking up huge CPU resources for export
Would it be possible to get an ETA on that?
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: javaw.exe is taking up huge CPU resources for export
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()
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()
-
- Posts: 24
- Joined: Wed May 16, 2012 3:08 pm