Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to inspect an individual node object?

I've taken a snapshot of my node app in nsolid and can see that Object 549949 has a very large retained size.

Is there any way I can drill down into this Object and see it's keys/values and dependent objects?

enter image description here

Edit: thanks @edsadr ! For those interested, the object was the Maxmind GeoIP database:

enter image description here

like image 656
mikemaccana Avatar asked Jan 02 '16 16:01

mikemaccana


1 Answers

To inspect the object in deep I would suggest to use Chrome dev tools, snapshots taken by N|Solid console can be downloaded to your local drive and then can be loaded there.

If you wish to download the profile for a better analysis simply click the download snapshot button, then open Google Chrome, open Chrome developer tools, go to the Profiles tab, right-click in the tab pane and select Load profile, select the dump file and click Open, then you can inspect the heap snapshot in deep.

like image 130
edsadr Avatar answered Nov 03 '22 00:11

edsadr