Created
September 18, 2019 20:42
-
-
Save timo/d587372f665624a6743dceecffe4f391 to your computer and use it in GitHub Desktop.
heap snapshot profile of the heapanalyzer analyzing another heap snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl6-m -I ../Compress-Zstd/ -I . bin/moar-ha /tmp/heapanalyzer_forget.mvmheap | |
Considering the snapshot...assigning highscores promise | |
looks reasonable! | |
This file contains 189 heap snapshots. To select one to look | |
at, type something like `snapshot 87`. | |
Type `help` for available commands, or `exit` to exit. | |
Snapshot GC Seq Num Heap Size Objects Type Objects STables Frames References | |
======== ========== ================= ======= ============ ======= ====== ========== | |
0 4 48,156,288 bytes 474,102 3,237 3,238 2,946 1,925,987 | |
1 5 49,361,338 bytes 480,102 3,236 3,237 3,079 1,936,732 | |
2 6 50,286,334 bytes 481,003 3,245 3,246 3,173 1,967,901 | |
3 7 50,895,911 bytes 481,376 3,253 3,254 3,194 1,983,668 | |
4 8 51,295,726 bytes 481,632 3,253 3,254 3,105 2,018,201 | |
5 9 51,897,152 bytes 482,579 3,256 3,257 3,166 2,037,001 | |
6 10 52,529,782 bytes 484,237 3,258 3,259 3,261 2,055,937 | |
7 11 52,319,432 bytes 484,964 3,259 3,260 3,338 2,042,287 | |
8 12 51,746,108 bytes 485,353 3,260 3,261 3,319 1,977,794 | |
9 13 52,216,871 bytes 486,191 3,246 3,247 3,329 2,013,210 | |
10 14 52,658,919 bytes 489,791 3,252 3,253 3,399 2,022,462 | |
11 15 53,988,428 bytes 497,153 3,266 3,267 3,476 2,040,789 | |
12 16 65,082,037 bytes 502,400 3,279 3,280 3,535 2,043,313 | |
13 17 73,257,313 bytes 502,571 3,278 3,279 3,506 2,035,596 | |
14 18 78,306,014 bytes 501,985 3,270 3,271 3,498 2,011,241 | |
15 19 79,830,997 bytes 502,016 3,270 3,271 3,501 2,029,609 | |
16 20 79,754,859 bytes 501,913 3,267 3,268 3,484 2,004,272 | |
17 21 80,118,867 bytes 501,907 3,267 3,268 3,483 2,004,862 | |
18 22 80,591,475 bytes 501,907 3,267 3,268 3,483 2,005,687 | |
19 23 81,005,063 bytes 501,889 3,267 3,268 3,479 2,006,060 | |
20 24 81,226,247 bytes 501,889 3,267 3,268 3,479 2,006,294 | |
21 25 81,534,630 bytes 501,897 3,267 3,268 3,480 2,006,933 | |
22 26 82,423,911 bytes 502,144 3,267 3,268 3,477 2,009,470 | |
23 27 82,932,322 bytes 502,144 3,267 3,268 3,477 2,010,088 | |
24 28 82,503,309 bytes 502,123 3,267 3,268 3,480 2,012,422 | |
25 29 85,120,711 bytes 502,052 3,267 3,268 3,465 2,013,235 | |
26 30 85,467,483 bytes 502,154 3,267 3,268 3,460 2,023,297 | |
27 31 85,846,162 bytes 502,145 3,267 3,268 3,458 2,023,581 | |
28 32 86,181,071 bytes 502,145 3,267 3,268 3,458 2,023,955 | |
29 33 84,296,516 bytes 502,062 3,267 3,268 3,459 2,024,149 | |
30 34 84,528,814 bytes 502,185 3,267 3,268 3,463 2,024,930 | |
31 35 87,180,866 bytes 502,049 3,267 3,268 3,458 2,025,022 | |
32 36 83,575,394 bytes 501,991 3,267 3,268 3,457 2,025,235 | |
33 37 83,876,581 bytes 502,005 3,268 3,269 3,452 2,033,325 | |
34 38 84,197,521 bytes 502,107 3,268 3,269 3,452 2,030,617 | |
35 39 84,419,609 bytes 501,999 3,268 3,269 3,452 2,030,311 | |
36 40 84,505,625 bytes 501,999 3,268 3,269 3,452 2,030,350 | |
37 41 84,944,167 bytes 502,001 3,268 3,269 3,453 2,030,736 | |
38 42 85,936,890 bytes 501,983 3,268 3,269 3,446 2,031,483 | |
39 43 86,544,802 bytes 501,983 3,268 3,269 3,446 2,031,983 | |
40 44 87,633,873 bytes 501,983 3,268 3,269 3,446 2,032,704 | |
41 45 88,647,121 bytes 501,983 3,268 3,269 3,446 2,033,441 | |
42 46 100,564,530 bytes 502,189 3,268 3,269 3,393 2,038,841 | |
43 47 85,654,253 bytes 502,075 3,268 3,269 3,394 2,038,851 | |
44 48 85,806,981 bytes 502,184 3,268 3,269 3,395 2,039,288 | |
45 49 85,942,029 bytes 502,077 3,268 3,269 3,395 2,038,952 | |
46 50 86,126,349 bytes 502,077 3,268 3,269 3,395 2,039,072 | |
47 51 86,289,445 bytes 502,076 3,268 3,269 3,395 2,039,155 | |
48 52 86,454,029 bytes 502,077 3,268 3,269 3,395 2,039,252 | |
49 53 86,596,645 bytes 502,076 3,268 3,269 3,395 2,039,335 | |
50 54 86,740,037 bytes 502,077 3,268 3,269 3,395 2,039,432 | |
51 55 86,883,365 bytes 502,076 3,268 3,269 3,395 2,039,515 | |
52 56 87,026,757 bytes 502,077 3,268 3,269 3,395 2,039,612 | |
53 57 87,149,637 bytes 502,077 3,268 3,269 3,395 2,039,702 | |
54 58 87,292,997 bytes 502,077 3,268 3,269 3,395 2,039,792 | |
55 59 87,437,029 bytes 502,076 3,268 3,269 3,395 2,039,878 | |
56 60 87,579,717 bytes 502,077 3,268 3,269 3,395 2,039,972 | |
57 61 87,723,045 bytes 502,076 3,268 3,269 3,395 2,040,055 | |
58 62 87,845,925 bytes 502,076 3,268 3,269 3,395 2,040,145 | |
59 63 87,990,029 bytes 502,077 3,268 3,269 3,395 2,040,242 | |
60 64 88,132,677 bytes 502,077 3,268 3,269 3,395 2,040,332 | |
61 65 88,276,005 bytes 502,076 3,268 3,269 3,395 2,040,415 | |
62 66 88,420,069 bytes 502,076 3,268 3,269 3,395 2,040,508 | |
63 67 88,542,989 bytes 502,077 3,268 3,269 3,395 2,040,602 | |
64 68 88,685,605 bytes 502,076 3,268 3,269 3,395 2,040,685 | |
65 69 88,829,709 bytes 502,077 3,268 3,269 3,395 2,040,782 | |
66 70 88,952,589 bytes 502,077 3,268 3,269 3,395 2,040,872 | |
67 71 89,095,237 bytes 502,077 3,268 3,269 3,395 2,040,962 | |
68 72 89,239,309 bytes 502,077 3,268 3,269 3,395 2,041,052 | |
69 73 89,382,629 bytes 502,076 3,268 3,269 3,395 2,041,138 | |
70 74 89,526,029 bytes 502,077 3,268 3,269 3,395 2,041,232 | |
71 75 89,668,645 bytes 502,076 3,268 3,269 3,395 2,041,315 | |
72 76 89,812,037 bytes 502,077 3,268 3,269 3,395 2,041,412 | |
73 77 89,955,365 bytes 502,076 3,268 3,269 3,395 2,041,495 | |
74 78 90,098,757 bytes 502,077 3,268 3,269 3,395 2,041,592 | |
75 79 90,221,637 bytes 502,077 3,268 3,269 3,395 2,041,682 | |
76 80 90,385,477 bytes 502,077 3,268 3,269 3,395 2,041,772 | |
77 81 90,550,029 bytes 502,077 3,268 3,269 3,395 2,041,862 | |
78 82 90,733,637 bytes 502,077 3,268 3,269 3,395 2,041,982 | |
79 83 90,876,997 bytes 502,077 3,268 3,269 3,395 2,042,072 | |
80 84 91,040,837 bytes 502,077 3,268 3,269 3,395 2,042,162 | |
81 85 91,184,197 bytes 502,077 3,268 3,269 3,395 2,042,252 | |
82 86 91,348,037 bytes 502,077 3,268 3,269 3,395 2,042,342 | |
83 87 91,512,549 bytes 502,076 3,268 3,269 3,395 2,042,428 | |
84 88 91,675,717 bytes 502,077 3,268 3,269 3,395 2,042,522 | |
85 89 91,819,789 bytes 502,077 3,268 3,269 3,395 2,042,612 | |
86 90 91,963,149 bytes 502,077 3,268 3,269 3,395 2,042,702 | |
87 91 92,105,797 bytes 502,077 3,268 3,269 3,395 2,042,792 | |
88 92 92,249,829 bytes 502,076 3,268 3,269 3,395 2,042,878 | |
89 93 92,392,485 bytes 502,076 3,268 3,269 3,395 2,042,965 | |
90 94 92,557,029 bytes 502,076 3,268 3,269 3,395 2,043,058 | |
91 95 92,699,717 bytes 502,077 3,268 3,269 3,395 2,043,152 | |
92 96 92,863,557 bytes 502,077 3,268 3,269 3,395 2,043,242 | |
93 97 93,028,109 bytes 502,077 3,268 3,269 3,395 2,043,332 | |
94 98 93,171,469 bytes 502,077 3,268 3,269 3,395 2,043,422 | |
95 99 93,334,597 bytes 502,077 3,268 3,269 3,395 2,043,512 | |
96 100 93,477,957 bytes 502,077 3,268 3,269 3,395 2,043,602 | |
97 101 93,621,317 bytes 502,077 3,268 3,269 3,395 2,043,692 | |
98 102 93,765,389 bytes 502,077 3,268 3,269 3,395 2,043,782 | |
99 103 93,888,269 bytes 502,077 3,268 3,269 3,395 2,043,872 | |
100 104 94,010,485 bytes 502,074 3,268 3,269 3,395 2,043,922 | |
101 105 94,133,285 bytes 502,076 3,268 3,269 3,395 2,044,015 | |
102 106 94,277,349 bytes 502,076 3,268 3,269 3,395 2,044,108 | |
103 107 94,400,229 bytes 502,076 3,268 3,269 3,395 2,044,198 | |
104 108 94,542,885 bytes 502,076 3,268 3,269 3,395 2,044,285 | |
105 109 94,665,797 bytes 502,077 3,268 3,269 3,395 2,044,382 | |
106 110 94,829,637 bytes 502,077 3,268 3,269 3,395 2,044,472 | |
107 111 98,244,770 bytes 503,709 3,290 3,291 3,489 2,053,835 | |
108 112 111,944,799 bytes 504,842 3,290 3,291 3,696 2,087,125 | |
109 113 99,002,615 bytes 505,469 3,290 3,291 3,648 2,090,823 | |
110 114 99,365,497 bytes 504,418 3,290 3,291 3,586 2,086,536 | |
111 115 99,923,738 bytes 504,414 3,290 3,291 3,584 2,087,313 | |
112 116 101,058,630 bytes 504,393 3,290 3,291 3,580 2,087,690 | |
113 117 101,681,206 bytes 504,392 3,290 3,291 3,581 2,088,266 | |
114 118 101,102,408 bytes 504,338 3,290 3,291 3,579 2,089,000 | |
115 119 103,902,493 bytes 504,273 3,290 3,291 3,561 2,089,051 | |
116 120 106,631,041 bytes 504,276 3,290 3,291 3,562 2,089,772 | |
117 121 101,896,358 bytes 504,133 3,290 3,291 3,558 2,091,256 | |
118 122 103,113,666 bytes 504,358 3,290 3,291 3,563 2,093,111 | |
119 123 103,830,898 bytes 504,110 3,290 3,291 3,546 2,092,751 | |
120 124 105,221,575 bytes 504,110 3,290 3,291 3,546 2,093,537 | |
121 125 106,581,165 bytes 504,110 3,290 3,291 3,546 2,094,645 | |
122 126 108,079,243 bytes 504,092 3,290 3,291 3,540 2,095,694 | |
123 127 116,041,051 bytes 503,790 3,290 3,291 3,471 2,071,524 | |
124 128 111,575,586 bytes 503,768 3,290 3,291 3,470 2,054,701 | |
125 129 111,723,314 bytes 503,851 3,290 3,291 3,463 2,054,963 | |
126 130 111,859,450 bytes 503,747 3,290 3,291 3,464 2,054,444 | |
127 131 112,022,546 bytes 503,746 3,290 3,291 3,464 2,054,440 | |
128 132 112,186,386 bytes 503,746 3,290 3,291 3,464 2,054,443 | |
129 133 112,329,746 bytes 503,746 3,290 3,291 3,464 2,054,446 | |
130 134 112,514,098 bytes 503,747 3,290 3,291 3,464 2,054,457 | |
131 135 112,678,610 bytes 503,746 3,290 3,291 3,464 2,054,456 | |
132 136 112,842,490 bytes 503,747 3,290 3,291 3,464 2,054,463 | |
133 137 112,985,106 bytes 503,746 3,290 3,291 3,464 2,054,459 | |
134 138 113,108,018 bytes 503,747 3,290 3,291 3,464 2,054,469 | |
135 139 113,251,378 bytes 503,747 3,290 3,291 3,464 2,054,472 | |
136 140 113,395,410 bytes 503,746 3,290 3,291 3,464 2,054,471 | |
137 141 113,538,770 bytes 503,746 3,290 3,291 3,464 2,054,474 | |
138 142 113,681,426 bytes 503,746 3,290 3,291 3,464 2,054,474 | |
139 143 113,825,530 bytes 503,747 3,290 3,291 3,464 2,054,484 | |
140 144 113,947,698 bytes 503,747 3,290 3,291 3,464 2,054,487 | |
141 145 114,091,058 bytes 503,747 3,290 3,291 3,464 2,054,490 | |
142 146 114,234,418 bytes 503,747 3,290 3,291 3,464 2,054,493 | |
143 147 114,378,490 bytes 503,747 3,290 3,291 3,464 2,054,496 | |
144 148 114,521,138 bytes 503,747 3,290 3,291 3,464 2,054,499 | |
145 149 114,664,498 bytes 503,747 3,290 3,291 3,464 2,054,502 | |
146 150 114,807,826 bytes 503,746 3,290 3,291 3,464 2,054,498 | |
147 151 114,931,450 bytes 503,747 3,290 3,291 3,464 2,054,508 | |
148 152 115,053,586 bytes 503,746 3,290 3,291 3,464 2,054,504 | |
149 153 115,197,690 bytes 503,747 3,290 3,291 3,464 2,054,514 | |
150 154 115,340,338 bytes 503,747 3,290 3,291 3,464 2,054,517 | |
151 155 115,483,698 bytes 503,747 3,290 3,291 3,464 2,054,520 | |
152 156 115,627,026 bytes 503,746 3,290 3,291 3,464 2,054,516 | |
153 157 115,770,418 bytes 503,747 3,290 3,291 3,464 2,054,526 | |
154 158 115,913,778 bytes 503,747 3,290 3,291 3,464 2,054,529 | |
155 159 116,057,810 bytes 503,746 3,290 3,291 3,464 2,054,528 | |
156 160 116,201,210 bytes 503,747 3,290 3,291 3,464 2,054,535 | |
157 161 116,323,378 bytes 503,747 3,290 3,291 3,464 2,054,538 | |
158 162 116,466,706 bytes 503,746 3,290 3,291 3,464 2,054,534 | |
159 163 116,610,810 bytes 503,747 3,290 3,291 3,464 2,054,544 | |
160 164 116,794,386 bytes 503,746 3,290 3,291 3,464 2,054,540 | |
161 165 116,958,258 bytes 503,747 3,290 3,291 3,464 2,054,550 | |
162 166 117,122,810 bytes 503,747 3,290 3,291 3,464 2,054,553 | |
163 167 117,285,938 bytes 503,747 3,290 3,291 3,464 2,054,556 | |
164 168 117,449,746 bytes 503,746 3,290 3,291 3,464 2,054,552 | |
165 169 117,593,138 bytes 503,747 3,290 3,291 3,464 2,054,562 | |
166 170 117,737,170 bytes 503,746 3,290 3,291 3,464 2,054,561 | |
167 171 117,860,050 bytes 503,746 3,290 3,291 3,464 2,054,564 | |
168 172 118,002,738 bytes 503,747 3,290 3,291 3,464 2,054,571 | |
169 173 118,146,098 bytes 503,747 3,290 3,291 3,464 2,054,574 | |
170 174 118,310,650 bytes 503,747 3,290 3,291 3,464 2,054,577 | |
171 175 118,453,298 bytes 503,747 3,290 3,291 3,464 2,054,580 | |
172 176 118,617,810 bytes 503,746 3,290 3,291 3,464 2,054,579 | |
173 177 118,780,946 bytes 503,746 3,290 3,291 3,464 2,054,579 | |
174 178 118,944,818 bytes 503,747 3,290 3,291 3,464 2,054,589 | |
175 179 119,088,178 bytes 503,747 3,290 3,291 3,464 2,054,592 | |
176 180 119,252,018 bytes 503,747 3,290 3,291 3,464 2,054,595 | |
177 181 119,415,858 bytes 503,747 3,290 3,291 3,464 2,054,598 | |
178 182 119,559,930 bytes 503,747 3,290 3,291 3,464 2,054,601 | |
179 183 119,702,578 bytes 503,747 3,290 3,291 3,464 2,054,604 | |
180 184 119,826,130 bytes 503,746 3,290 3,291 3,464 2,054,603 | |
181 185 119,949,050 bytes 503,747 3,290 3,291 3,464 2,054,610 | |
182 186 120,071,218 bytes 503,747 3,290 3,291 3,464 2,054,613 | |
183 187 120,214,546 bytes 503,746 3,290 3,291 3,464 2,054,609 | |
184 188 120,338,130 bytes 503,746 3,290 3,291 3,464 2,054,615 | |
185 189 120,480,818 bytes 503,747 3,290 3,291 3,464 2,054,622 | |
186 190 120,624,850 bytes 503,746 3,290 3,291 3,464 2,054,621 | |
187 191 120,747,058 bytes 503,747 3,290 3,291 3,464 2,054,628 | |
188 192 121,183,139 bytes 503,367 3,290 3,291 3,450 2,057,893 | |
> 0.7853981633974483 | |
snapshot 180 | |
Loading that snapshot. Carry on... | |
> top objects by size | |
Name Total Bytes | |
========================== ================ | |
array[uint32] 44,543,700 bytes | |
array[uint64] 15,025,488 bytes | |
NQPArray 9,204,808 bytes | |
BOOTStaticFrame 7,236,800 bytes | |
BOOTInt 6,012,128 bytes | |
BOOTHash 4,355,376 bytes | |
<anon MVMSpeshLog> 4,326,256 bytes | |
array[int8] 4,031,291 bytes | |
VMString 3,728,126 bytes | |
NFAType 3,112,072 bytes | |
SCRef 3,013,184 bytes | |
BOOTCode 2,243,376 bytes | |
Parameter 1,949,288 bytes | |
array[uint16] 1,918,512 bytes | |
<anon MVMStaticFrameSpesh> 992,412 bytes | |
> find 100 objects type="array[uint32]" | |
Object Id Description Unmanaged Size | |
========= ============= =============== | |
21321 array[uint32] 56 bytes | |
21333 array[uint32] 56 bytes | |
21334 array[uint32] 56 bytes | |
21335 array[uint32] 56 bytes | |
21337 array[uint32] 56 bytes | |
365349 array[uint32] 56 bytes | |
365350 array[uint32] 56 bytes | |
365353 array[uint32] 56 bytes | |
365354 array[uint32] 56 bytes | |
365356 array[uint32] 56 bytes | |
372227 array[uint32] 7,512,744 bytes | |
372228 array[uint32] 6,717,496 bytes | |
372345 array[uint32] 1,918,052 bytes | |
372346 array[uint32] 1,918,052 bytes | |
372348 array[uint32] 1,918,052 bytes | |
372349 array[uint32] 1,918,052 bytes | |
372876 array[uint32] 56 bytes | |
372877 array[uint32] 56 bytes | |
380937 array[uint32] 56 bytes | |
380938 array[uint32] 56 bytes | |
380939 array[uint32] 56 bytes | |
380941 array[uint32] 56 bytes | |
382042 array[uint32] 7,479,108 bytes | |
382043 array[uint32] 7,487,544 bytes | |
382052 array[uint32] 1,918,412 bytes | |
382053 array[uint32] 1,918,412 bytes | |
382054 array[uint32] 1,918,412 bytes | |
382056 array[uint32] 1,918,412 bytes | |
> path 382042 | |
Inter-generational Roots | |
Strings heap entry | |
Boxed integer cache entry | |
path 372227 | |
Root (0) | |
--[ Thread Roots ]--> | |
Thread Roots (16) | |
--[ Specialization log ]--> | |
<anon MVMSpeshLog> (Object) (513439) | |
--[ Invoked staticframe entry ]--> | |
BOOTStaticFrame (Object) (372875) | |
--[ Compilation Unit ]--> | |
BOOTCompUnit (Object) (359543) | |
--[ Code refs array entry ]--> | |
BOOTCode (Object) (363948) | |
--[ outer ]--> | |
<anon> (Parser.pm6 (App::MoarVM::HeapAnalyzer::Parser):362) (Frame) (382021) | |
--[ $promise ]--> | |
Scalar (Object) (382023) | |
--[ Unknown ]--> | |
Promise (Object) (382031) | |
--[ Unknown ]--> | |
App::MoarVM::HeapAnalyzer::Model::Snapshot (Object) (382037) | |
--[ Unknown ]--> | |
array[uint32] (Object) (382042) | |
> Root (0) | |
--[ Thread Roots ]--> | |
Thread Roots (12) | |
--[ last invoked staticframe ]--> | |
BOOTStaticFrame (Object) (371976) | |
--[ Static code object ]--> | |
BOOTCode (Object) (372238) | |
--[ outer ]--> | |
BUILD (ThreadPoolScheduler.pm6:289) (Frame) (372093) | |
--[ Register ]--> | |
array[uint32] (Object) (372227) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment