Hi,
I am using yourkit to attach to a remote process in production and using ssh port forwarding to debug a excess garbage collection issue.
But when I click on "Record Object Allocation", the client show a pop up, "Loading classes to instrument..." and gets stuck there. I tried increasing the minimum size to record allocation, and increase sampling rate, but that doesn't help.
Has anyone else seen this issue? I am using YourKit Java Profiler 2015 build 15074.
Thanks,
Jayesh
Object recording not working
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Object recording not working
Hi Jayesh
The message "Loading classes to instrument..." means you're using the attach mode:
https://www.yourkit.com/docs/java/help/attach_agent.jsp
As a workaround please run the profiled application with the profiler agent instead:
https://www.yourkit.com/docs/java/help/ ... remote.jsp
To investigate why it works that slowly in attaching for you, we need the profiler agent log file ~/.yjp/log/<session name>-<pid>.log from the remote machine.
Best regards,
Anton
The message "Loading classes to instrument..." means you're using the attach mode:
https://www.yourkit.com/docs/java/help/attach_agent.jsp
As a workaround please run the profiled application with the profiler agent instead:
https://www.yourkit.com/docs/java/help/ ... remote.jsp
To investigate why it works that slowly in attaching for you, we need the profiler agent log file ~/.yjp/log/<session name>-<pid>.log from the remote machine.
Best regards,
Anton