Skip to content

Instantly share code, notes, and snippets.

@donaldh
Last active December 23, 2015 18:39
Show Gist options
  • Save donaldh/6676995 to your computer and use it in GitHub Desktop.
Save donaldh/6676995 to your computer and use it in GitHub Desktop.
Top 20 from a heap dump of rakudo/jvm after parsing CORE.setting
Class Instance Count Total Size
class org.perl6.nqp.sixmodel.reprs.VMArrayInstance 1357455 43438560
class java.util.HashMap$Entry 1131386 31678808
class [Lorg.perl6.nqp.sixmodel.SixModelObject; 992354 70542912
class [Ljava.util.HashMap$Entry; 851332 127603248
class java.util.HashMap 851212 45114236
class org.perl6.nqp.sixmodel.reprs.VMHashInstance 802197 19252728
class org.perl6.nqp.sixmodel.reprs.P6strInstance 689975 16559400
class [J 642139 75898368
class __P6opaque__22 390551 37492896
class org.perl6.nqp.sixmodel.reprs.P6intInstance 375479 9011496
class [Ljava.lang.String; 355116 6998504
class org.perl6.nqp.runtime.CallFrame 345305 47997395
class [D 345304 5525144
class __P6opaque__21 342266 27381280
class org.perl6.nqp.sixmodel.reprs.VMArrayInstance_i 335045 10721440
class [C 257728 20603458
class java.lang.String 257183 4114928
class [Ljava.lang.Object; 214108 8053928
class java.lang.Integer 125387 501548
Class Instance Count Total Size
class org.perl6.nqp.sixmodel.reprs.VMArrayInstance 1483735 47479520
class [Lorg.perl6.nqp.sixmodel.SixModelObject; 1319353 89527128
class java.util.TreeMap$Entry 1024599 42008559
class org.perl6.nqp.sixmodel.reprs.P6strInstance 960066 23041584
class [J 917490 82948600
class org.perl6.nqp.sixmodel.StorageSpec 882163 7057304
class java.util.TreeMap 822731 52654784
class org.perl6.nqp.sixmodel.reprs.VMHashInstance 822268 19734432
class org.perl6.nqp.sixmodel.reprs.P6intInstance 821151 19707624
class [Ljava.lang.String; 655746 11487192
class org.perl6.nqp.runtime.CallFrame 630530 87643670
class [D 630528 10088728
class [Ljava.lang.Object; 478761 18734856
class [C 473657 33987872
class java.lang.String 464003 7424048
class __P6opaque__22 378467 36332832
class __P6opaque__21 345543 27643440
class org.perl6.nqp.sixmodel.reprs.VMArrayInstance_i 305736 9783552
class java.util.HashMap$Entry 159283 4459924
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment