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

Can not capture memory snapshot on Java Profiler 2019.8-b141

Moderators: Vladimir Kondratyev, Anton Katilin

Can not capture memory snapshot on Java Profiler 2019.8-b141

Postby guillermo » Thu Jul 23, 2020 2:25 am

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-

Postby guillermo » Thu Jul 23, 2020 2:54 am

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.
guillermo
 
Posts: 2
Joined: Thu Jul 23, 2020 1:52 am

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

Postby Anton Katilin » Thu Jul 23, 2020 7:28 am

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


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.