Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created August 6, 2017 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/f02204befc98b8f2d5aea66a8948cc42 to your computer and use it in GitHub Desktop.
Save MasterDuke17/f02204befc98b8f2d5aea66a8948cc42 to your computer and use it in GitHub Desktop.
HEAD
Considering the snapshot...looks reasonable!
This file contains 34 heap snapshots. To select one to look
at, type something like `snapshot 1`.
Type `help` for available commands, or `exit` to exit.
> snapshot 28
Loading that snapshot. Carry on...
> summary
Wait a moment, while I finish loading the snapshot...
Total heap size: 105,831,620 bytes
Total objects: 588,852
Total type objects: 2,278
Total STables (type tables): 2,279
Total frames: 4,091
Total references: 1,998,150
> top objects by size
Name Total Bytes
=============== ================
Buf[uint8] 46,898,616 bytes
VMString 17,592,759 bytes
NQPArray 7,289,552 bytes
BOOTStaticFrame 5,451,451 bytes
BOOTInt 4,658,624 bytes
Scalar 3,737,496 bytes
BOOTHash 2,899,424 bytes
Str 2,501,240 bytes
NFAType 2,420,616 bytes
SCRef 1,953,744 bytes
BOOTCode 1,691,352 bytes
Parameter 1,352,248 bytes
BOOTNum 835,936 bytes
IterationBuffer 610,208 bytes
BOOTCompUnit 597,034 bytes
> top objects by count
Name Count
===================================== =======
BOOTInt 145,582
VMString 101,094
NQPArray 74,677
Scalar 66,741
Str 62,531
BOOTNum 26,123
BOOTCode 23,491
BOOTStaticFrame 18,846
BOOTStr 16,113
Parameter 9,943
Perl6::Metamodel::ContainerDescriptor 7,511
BOOTHash 6,958
Signature 5,000
Method 3,119
<anon> 2,911
> top stables by size
Name Total Bytes
====================================== ============
<anon> 28,400 bytes
X::Comp 25,800 bytes
<anon|791666854800> 16,400 bytes
Method+{<anon|791666854800>} 15,000 bytes
X::Syntax 13,600 bytes
Callable 10,000 bytes
Precedence 6,200 bytes
<anon|791666854528> 6,000 bytes
Sub+{<anon|791666854528>} 5,400 bytes
X::OS 5,000 bytes
Sub+{Callable[Nil]} 5,000 bytes
X::IO 5,000 bytes
Sub+{<anon|791666854528>}+{Precedence} 4,600 bytes
$?CLASS 4,000 bytes
GLOBALish 3,600 bytes
> top stables by count
Name Count
====================================== =====
<anon> 142
X::Comp 129
<anon|791666854800> 82
Method+{<anon|791666854800>} 75
X::Syntax 68
Callable 50
Precedence 31
<anon|791666854528> 30
Sub+{<anon|791666854528>} 27
X::OS 25
Sub+{Callable[Nil]} 25
X::IO 25
Sub+{<anon|791666854528>}+{Precedence} 23
$?CLASS 20
GLOBALish 18
> top frames by size
Name Total Bytes
======================================= =============
moarop_mapper (QAST.nqp:1832) 123,552 bytes
add_core_moarop_mapping (QAST.nqp:1790) 100,096 bytes
<anon> (BOOTSTRAP.nqp:1112) 18,480 bytes
<mainline> (NQPCORE.setting:1) 18,328 bytes
<unit> (CORE.setting:1) 17,976 bytes
new_type (Metamodel.nqp:2574) 16,192 bytes
new_type (Metamodel.nqp:1252) 14,976 bytes
<mainline> (BOOTSTRAP.nqp:1) 14,904 bytes
THREAD-ENTRY (Thread.pm:22) 14,336 bytes
<anon> (ThreadPoolScheduler.pm:161) 13,440 bytes
tap (Supply.pm:78) 10,296 bytes
protect (Lock.pm:23) 10,224 bytes
then (Promise.pm:147) 9,672 bytes
<anon> (Promise.pm:154) 8,112 bytes
!protoregex (QRegex.nqp:1699) 7,544 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment