Can not capture memory snapshot on Java Profiler 2019.8-b141

Questions about YourKit Java Profiler
Post Reply
guillermo
Posts: 2
Joined: Thu Jul 23, 2020 1:52 am

Can not capture memory snapshot on Java Profiler 2019.8-b141

Post by guillermo »

I can connect to the remote application no problem.
https://i.imgur.com/X7106CU.png

But when I try to capture a memory snapshot It fails with
https://i.imgur.com/rwEhgFA.png

"There's no application running at [some ip] with profiler agent configured to listen on port [my port] or profiler agent is incompatible with current version of profiler"

The agent version is 2019.8-b141, same as the ui I am using.
The agent was loaded on application start.

My application has a Heap Limit of 1.4GB, and it use is below 1GB when I try to get a snapshot.

This is my ui.ini

Code: Select all

grep "^-" ~/.yjp/ui.ini
-XX:+HeapDumpOnOutOfMemoryError
-DsocksProxyHost=localhost
-DsocksProxyPort=3131

-Dyk.controller.connect.timeout.ms=60000
-Dyk.controller.read.timeout.ms=60000
-Xmx24G


And the last 3 entries I added as I tried to follow some of the advice found on this forum on similar issues

Code: Select all

-Dyk.controller.connect.timeout.ms=60000
-Dyk.controller.read.timeout.ms=60000
-Xmx24G
But the problem persists

Some other config:
https://imgur.com/C0Uh2KG
guillermo
Posts: 2
Joined: Thu Jul 23, 2020 1:52 am

Re: Can not capture memory snapshot on Java Profiler 2019.8-

Post by guillermo »

Additionally, it kills my application when it fails to capture a memory snapshot.

I also tried upgrading to 2019.8-b142 (and upgraded the agent to match) but it failed with the same error.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Can not capture memory snapshot on Java Profiler 2019.8-

Post by Anton Katilin »

Hello

Could you please provide the profiler agent log file ~/.yjp/log/<session name>-<pid>.log from the remote machine. Please send it attached to [email protected]

Please also search for possibly created JVM crash log files hs_err<pid>.log

Alternatively please try capturing a HPROF snapshot: https://www.yourkit.com/docs/java/help/ ... pshots.jsp

Best regards,
Anton
Post Reply