Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created August 6, 2017 21:55
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/2cad493ec5088231df84e196688f031f to your computer and use it in GitHub Desktop.
Save MasterDuke17/2cad493ec5088231df84e196688f031f to your computer and use it in GitHub Desktop.
2017.07
onsidering the snapshot...looks reasonable!
This file contains 43 heap snapshots. To select one to look
at, type something like `snapshot 19`.
Type `help` for available commands, or `exit` to exit.
> snapshot 35
Loading that snapshot. Carry on...
> summary
Wait a moment, while I finish loading the snapshot...
Total heap size: 198,864,999 bytes
Total objects: 593,013
Total type objects: 2,279
Total STables (type tables): 2,280
Total frames: 4,076
Total references: 2,009,441
> top objects by size
Name Total Bytes
=============== =================
Buf[uint8] 139,448,928 bytes
VMString 17,416,264 bytes
NQPArray 7,290,104 bytes
BOOTStaticFrame 5,607,549 bytes
BOOTInt 4,704,128 bytes
Scalar 3,789,352 bytes
BOOTHash 2,898,576 bytes
Str 2,538,760 bytes
NFAType 2,420,616 bytes
SCRef 1,952,944 bytes
BOOTCode 1,693,008 bytes
Parameter 1,351,568 bytes
BOOTNum 835,936 bytes
IterationBuffer 610,312 bytes
BOOTCompUnit 597,314 bytes
> top objects by count
Name Count
===================================== =======
BOOTInt 147,004
VMString 102,035
NQPArray 74,677
Scalar 67,667
Str 63,469
BOOTNum 26,123
BOOTCode 23,514
BOOTStaticFrame 18,874
BOOTStr 16,117
Parameter 9,938
Perl6::Metamodel::ContainerDescriptor 7,493
BOOTHash 6,957
Signature 5,001
Method 3,121
BOOTArray 2,610
> top stables by size
Name Total Bytes
======================================== ============
<anon> 33,200 bytes
X::Comp 25,800 bytes
<anon|94514671280224> 16,400 bytes
Method+{<anon|94514671280224>} 15,000 bytes
X::Syntax 13,600 bytes
Callable 10,000 bytes
Precedence 6,200 bytes
<anon|94514671279952> 6,000 bytes
Sub+{<anon|94514671279952>} 5,400 bytes
X::IO 5,000 bytes
X::OS 5,000 bytes
Sub+{Callable[Nil]} 5,000 bytes
Sub+{<anon|94514671279952>}+{Precedence} 4,600 bytes
$?CLASS 4,000 bytes
GLOBALish 3,600 bytes
> top stables by count
Name Count
======================================== =====
<anon> 166
X::Comp 129
<anon|94514671280224> 82
Method+{<anon|94514671280224>} 75
X::Syntax 68
Callable 50
Precedence 31
<anon|94514671279952> 30
Sub+{<anon|94514671279952>} 27
X::IO 25
X::OS 25
Sub+{Callable[Nil]} 25
Sub+{<anon|94514671279952>}+{Precedence} 23
$?CLASS 20
GLOBALish 18
> top frames by size
Name Total Bytes
======================================= =============
moarop_mapper (QAST.nqp:1832) 178,152 bytes
add_core_moarop_mapping (QAST.nqp:1790) 152,040 bytes
new_type (Metamodel.nqp:2574) 24,920 bytes
new_type (Metamodel.nqp:1252) 22,752 bytes
<mainline> (NQPCORE.setting:1) 20,880 bytes
<anon> (BOOTSTRAP.nqp:1112) 20,592 bytes
<unit> (CORE.setting:1) 18,264 bytes
<mainline> (BOOTSTRAP.nqp:1) 17,112 bytes
THREAD-ENTRY (Thread.pm:22) 15,872 bytes
<anon> (ThreadPoolScheduler.pm:161) 14,976 bytes
tap (Supply.pm:78) 14,400 bytes
then (Promise.pm:147) 13,072 bytes
protect (Lock.pm:23) 12,992 bytes
<anon> (Promise.pm:154) 11,552 bytes
!protoregex (QRegex.nqp:1699) 11,480 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment