Google DevTools missing UI info -


i trying snapshot of heap usage of javascript test using google devtools. used site: https://developers.google.com/chrome-developer-tools/docs/heap-profiling along windows 7 , google chrome.

the problem need see memory metrics (bytes vs kilobytes) under retained , shallow size, isn't showing. tried online, , mess devtools myself, can't seem find way display this.

google's own site goes right here: enter image description here

to here: enter image description here

without explaining how did it... see in second image, using macos. why? infer size metrics based on these 2 images, know.

here see when go on devtools: enter image description here

thanks help.

the screenshot 'retaining paths' quite old. fresh versions show retaining tree. i've created bug this. https://code.google.com/p/chromium/issues/detail?id=240872

the retaining tree nonempty if select particular object in upper window.

if object retainer object b , second object retainer 100mb array c see 3 objects in list.

the small object retained size = sizeof c + sizeof b + sizeof = ~100mb.

the small object b retained size = sizeof c + sizeof b = ~100mb less retained size a.

and big array c shallow size = retained size = 100mb.

at same time total size of heap equal retained size of object a. sum of retained sizes or percents strange number means nothing.

if drop link between b , c c collected.

if drop link between , b b , c collected.

if drop link , b , c collected.

if create link object d c , take snapshot retained sizes of , b become smaller because c not collected if drop link between b , c or between , b or somewhere because there link d c.

see doc yourkit http://www.yourkit.com/docs/80/help/sizes.jsp


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -