This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

YourKit bugs?

 
blacksmith
Posts: 1332
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm presently using YourKit for the first time, to address some memory usage issues. I've had a couple of issues that cause me a bit of concern.

First, it has thrown some stack traces in a window that requests them to be sent to the company. That would be a good sign that they care about their product, but it raises some concerns when combined with my second issue.

Second, the included memory calculations (size of object plus descendants) seem questionable in some cases. In particular, I was surprised to find several items stored in our session having widely varying included sizes when I expected them to be identical. Digging a bit deeper, it looks like the descendant objects add up properly for the larger items, but they add up to far more than is listed for the smaller items.

Has anyone else seen anything similar? Am I missing something, or is there reason to worry about the dependability of the results? Should I push my company to buy another product, even though they've paid for a couple of YourKit licenses already?
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please report the exceptions to [email protected]
It's better to report problems to product developers than disscuss them here.

Regarding retained size calculation: please read "Shallow and retained sizes" section of bundled help. It describes in details the concepts. It's absolute not true that objects of the same type have the same retained size.

Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
 
You may have just won ten million dollars! Or, maybe a tiny ad.
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic