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

Yourkit unable to capture Memory snaphot

Moderators: Vladimir Kondratyev, Anton Katilin

Yourkit unable to capture Memory snaphot

Postby oswcab » Thu Jun 29, 2017 5:11 pm

Hi,
I'm using YourKit 2016.02-b46 to try to understand a humongous allocation problem with our application.
I've configured the application to run the agent and YourKit is able to locally connect to the application. I can do most of the operations without a problem but when I try to get the details about the memory by capturing the memory snapshot, YourKit disconnects from the application and shows error message:
"There's no application running at localhost with profiler agent configured to listen on port 10001 or profiler agent is incompatible with current version of profiler"
As said, initially the profiler connects OK to the application and only shows this error message when trying to capture the memory snapshot.
The application has 128GB heap so that may be the reason? Should I allocate Yourkit more memory before starting it up?
oswcab
 
Posts: 2
Joined: Thu Jun 29, 2017 4:58 pm

Re: Yourkit unable to capture Memory snaphot

Postby oswcab » Thu Jun 29, 2017 6:06 pm

In fact, that was the problem, lack of memory. The error message should be more specific to be helpful.
oswcab
 
Posts: 2
Joined: Thu Jun 29, 2017 4:58 pm

Re: Yourkit unable to capture Memory snaphot

Postby Anton Katilin » Thu Jun 29, 2017 7:04 pm

Hi,

Please note that version 2016.02 is no longer supported. Please use the current release version 2017.02.

Nevertheless, this is likely a socket timeout issue in communication of the profiler UI and the profiler agent. The snapshot may take time to complete.

You may try to re-connect to the application after the snapshot has been captured in full.

It also makes sense to consider capturing HPROF snapshots for such huge heaps since they dump faster: https://www.yourkit.com/docs/java/help/ ... pshots.jsp

Best regards,
Anton
Anton Katilin
 
Posts: 5568
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 2 guests

cron