Expanding the <Retained from several ...> on the merged path

Questions about YourKit Java Profiler
Post Reply
nimiby
Posts: 1
Joined: Fri Aug 22, 2014 11:12 pm

Expanding the <Retained from several ...> on the merged path

Post by nimiby »

Hello,

I have a ~5GB Java dump file, that is successfully loaded with YourKit 2014 (14092).
I have a certain class that takes the most of the retained memory, and I am trying to analyzed its merged GC path.

The Merged Path tab, shows that 87% of the instances are retained by "<Retained from several objects simultaneously (don't have a dominator)>". When trying to expand this node to see the underline classed, yourkit seems to go into some kind of infinite loop. CPU goes up to 25% (one out 4 cores?) and the tool hangs.

Any suggestion for what can I do with this problem? Could this be a known defect with YourKit 2014?

Thanks
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Expanding the <Retained from several ...> on the merged

Post by Anton Katilin »

Hello nimiby

It's not a known issue.

Perhaps the calculation takes too much time but will eventually complete. Please let it run.

We need more detail to investigate the issue.

Could you please provide the problematic dump file. Please zip it, upload to DropBox or similar and send us the download URL. Of you can't post it in the forum please send it to [email protected]

If you can't provide the dump, could you please:
- run another instance of the profiler;
- attach to the first one;
- start CPU sampling;
- wait for 20-30 seconds;
- capture performance snapshot;
- send us that snapshot.

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

Re: Expanding the <Retained from several ...> on the merged

Post by Anton Katilin »

P.S.

As a workaround, you may open these objects in a new tab and analyze paths to individual objects:

- (restart the profiler and re-open the snapshot, if necessary);
- select the line "<Retained from several objects simultaneously (don't have a dominator)>" but don't expand it;
- use "Selected Objects" from popup menu (or press F4);
- a new tab will open;
- switch to Object explorer if not preselected;
- calculate paths to several, possibly random, objects to understand how they are retained.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Expanding the <Retained from several ...> on the merged

Post by Anton Katilin »

Hello nimiby

We still need the snapshot or the profiling results, as requested.
Without them we cannot reproduce the problem.

Best regards,
Anton
Post Reply