heap dump failed

Questions about YourKit Java Profiler
Post Reply
kideok
Posts: 1
Joined: Fri Jan 03, 2020 5:14 am

heap dump failed

Post by kideok »

Issue:
I connected remote docker container running on ec2 instance to capture mem snapshot.
When I try to capture it, YourKit program returned below error message.
https://www.evernote.com/l/ATG3uoj8ActO ... YDKYt6X7tk
And, ec2 was suddenly terminated with below message.
State transition reason: User initiated (2020-01-03 02:56:17 GMT)
State transition reason message: Client.UserInitiatedShutdown: User initiated shutdown
Run Environment:
- use YourKit-JavaProfiler-2019.8
- use docker container on ec2 instance.
- start agent with option:
  • -agentpath:.../bin/linux-x86-64/libyjpagent.so=listen=all
    -agentpath:.../bin/linux-x86-64/libyjpagent.so=_socket_timeout_ms=60000
- start profiler program with option: (~.yjp/ui.ini)
  • -Dyk.controller.connect.timeout.ms=60000
    -Dyk.controller.read.timeout.ms=60000
Please let me know if you have any comments.
Thank you.
Vladimir Kondratyev
Posts: 1619
Joined: Tue Aug 10, 2004 7:52 pm

Re: heap dump failed

Post by Vladimir Kondratyev »

Profiler agent cannot terminate EC2 instance. Is it reproducible? Most probably snapshot capturing takes a long time and profiler UI disconnects by timeout. This is absolutely harmless and you should be able to re-connect to profiled application as soon as snapshot is written to disk.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Post Reply