1--------------------------------------------------------------------------------
2Command:            ./peak
3Massif arguments:   --stacks=no --time-unit=B --peak-inaccuracy=10.0 --heap-admin=128 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
4ms_print arguments: massif.out
5--------------------------------------------------------------------------------
6
7
8    KB
933.89^                                                                       #
10     |                                                                    :  #
11     |                                                                @  ::::#
12     |                                                            :   @::::  #
13     |                                                         @  ::::@  ::  #
14     |                                                     :   @::::  @  ::  #
15     |                                                  @  ::::@  ::  @  ::  #
16     |                                              :  :@::::  @  ::  @  ::  #
17     |                                          @   ::::@  ::  @  ::  @  ::  #
18     |                                       :  @::::  :@  ::  @  ::  @  ::  #
19     |                                   @   :::@:  :  :@  ::  @  ::  @  ::  #
20     |                                @  @::::  @:  :  :@  ::  @  ::  @  ::  #
21     |                            @  :@::@:  :  @:  :  :@  ::  @  ::  @  ::  #
22     |                        @   @:::@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
23     |                     @  @:::@  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
24     |                 @   @::@:  @  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
25     |              @  @:::@  @:  @  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
26     |          @  :@::@:  @  @:  @  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
27     |      @   @:::@  @:  @  @:  @  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
28     |   @  @:::@  :@  @:  @  @:  @  :@  @:  :  @:  :  :@  ::  @  ::  @  ::  #
29   0 +----------------------------------------------------------------------->KB
30     0                                                                   39.38
31
32Number of snapshots: 76
33 Detailed snapshots: [3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 46, 53, 60, 67, 74 (peak)]
34
35--------------------------------------------------------------------------------
36  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
37--------------------------------------------------------------------------------
38  0              0                0                0             0            0
39  1          1,728            1,728            1,600           128            0
40  2          1,872            1,872            1,616           256            0
41  3          1,872            1,872            1,616           256            0
4286.32% (1,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
43->85.47% (1,600B) 0x........: main (peak.c:8)
44|
45->00.85% (16B) in 1+ places, all below ms_print's threshold (01.00%)
46
47--------------------------------------------------------------------------------
48  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
49--------------------------------------------------------------------------------
50  4          2,016            1,728            1,600           128            0
51  5          3,744            3,456            3,200           256            0
52  6          3,888            3,600            3,216           384            0
53  7          3,888            3,600            3,216           384            0
5489.33% (3,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
55->88.89% (3,200B) 0x........: main (peak.c:8)
56|
57->00.44% (16B) in 1+ places, all below ms_print's threshold (01.00%)
58
59--------------------------------------------------------------------------------
60  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
61--------------------------------------------------------------------------------
62  8          4,032            3,456            3,200           256            0
63  9          5,760            5,184            4,800           384            0
64 10          5,904            5,328            4,816           512            0
65 11          5,904            5,328            4,816           512            0
6690.39% (4,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
67->90.09% (4,800B) 0x........: main (peak.c:8)
68|
69->00.30% (16B) in 1+ places, all below ms_print's threshold (01.00%)
70
71--------------------------------------------------------------------------------
72  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
73--------------------------------------------------------------------------------
74 12          6,048            5,184            4,800           384            0
75 13          7,776            6,912            6,400           512            0
76 14          7,920            7,056            6,416           640            0
77 15          7,920            7,056            6,416           640            0
7890.93% (6,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
79->90.70% (6,400B) 0x........: main (peak.c:8)
80|
81->00.23% (16B) in 1+ places, all below ms_print's threshold (01.00%)
82
83--------------------------------------------------------------------------------
84  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
85--------------------------------------------------------------------------------
86 16          8,064            6,912            6,400           512            0
87 17          9,792            8,640            8,000           640            0
88 18          9,936            8,784            8,016           768            0
89 19          9,936            8,784            8,016           768            0
9091.26% (8,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
91->91.07% (8,000B) 0x........: main (peak.c:8)
92|
93->00.18% (16B) in 1+ places, all below ms_print's threshold (01.00%)
94
95--------------------------------------------------------------------------------
96  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
97--------------------------------------------------------------------------------
98 20         10,080            8,640            8,000           640            0
99 21         11,808           10,368            9,600           768            0
100 22         11,952           10,512            9,616           896            0
101 23         11,952           10,512            9,616           896            0
10291.48% (9,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
103->91.32% (9,600B) 0x........: main (peak.c:8)
104|
105->00.15% (16B) in 1+ places, all below ms_print's threshold (01.00%)
106
107--------------------------------------------------------------------------------
108  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
109--------------------------------------------------------------------------------
110 24         12,096           10,368            9,600           768            0
111 25         13,824           12,096           11,200           896            0
112 26         13,968           12,240           11,216         1,024            0
113 27         13,968           12,240           11,216         1,024            0
11491.63% (11,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
115->91.50% (11,200B) 0x........: main (peak.c:8)
116|
117->00.13% (16B) in 1+ places, all below ms_print's threshold (01.00%)
118
119--------------------------------------------------------------------------------
120  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
121--------------------------------------------------------------------------------
122 28         14,112           12,096           11,200           896            0
123 29         15,840           13,824           12,800         1,024            0
124 30         15,984           13,968           12,816         1,152            0
125 31         15,984           13,968           12,816         1,152            0
12691.75% (12,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
127->91.64% (12,800B) 0x........: main (peak.c:8)
128|
129->00.11% (16B) in 1+ places, all below ms_print's threshold (01.00%)
130
131--------------------------------------------------------------------------------
132  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
133--------------------------------------------------------------------------------
134 32         16,128           13,824           12,800         1,024            0
135 33         17,856           15,552           14,400         1,152            0
136 34         18,000           15,696           14,416         1,280            0
137 35         18,000           15,696           14,416         1,280            0
13891.85% (14,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
139->91.74% (14,400B) 0x........: main (peak.c:8)
140|
141->00.10% (16B) in 1+ places, all below ms_print's threshold (01.00%)
142
143--------------------------------------------------------------------------------
144  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
145--------------------------------------------------------------------------------
146 36         18,144           15,552           14,400         1,152            0
147 37         19,872           17,280           16,000         1,280            0
148 38         20,016           17,424           16,016         1,408            0
149 39         20,016           17,424           16,016         1,408            0
15091.92% (16,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
151->91.83% (16,000B) 0x........: main (peak.c:8)
152|
153->00.09% (16B) in 1+ places, all below ms_print's threshold (01.00%)
154
155--------------------------------------------------------------------------------
156  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
157--------------------------------------------------------------------------------
158 40         20,160           17,280           16,000         1,280            0
159 41         21,888           19,008           17,600         1,408            0
160 42         22,032           19,152           17,616         1,536            0
161 43         22,176           19,008           17,600         1,408            0
162 44         23,904           20,736           19,200         1,536            0
163 45         24,048           20,880           19,216         1,664            0
164 46         24,048           20,880           19,216         1,664            0
16592.03% (19,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
166->91.95% (19,200B) 0x........: main (peak.c:8)
167|
168->00.08% (16B) in 1+ places, all below ms_print's threshold (01.00%)
169
170--------------------------------------------------------------------------------
171  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
172--------------------------------------------------------------------------------
173 47         24,192           20,736           19,200         1,536            0
174 48         25,920           22,464           20,800         1,664            0
175 49         26,064           22,608           20,816         1,792            0
176 50         26,208           22,464           20,800         1,664            0
177 51         27,936           24,192           22,400         1,792            0
178 52         28,080           24,336           22,416         1,920            0
179 53         28,080           24,336           22,416         1,920            0
18092.11% (22,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
181->92.04% (22,400B) 0x........: main (peak.c:8)
182|
183->00.07% (16B) in 1+ places, all below ms_print's threshold (01.00%)
184
185--------------------------------------------------------------------------------
186  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
187--------------------------------------------------------------------------------
188 54         28,224           24,192           22,400         1,792            0
189 55         29,952           25,920           24,000         1,920            0
190 56         30,096           26,064           24,016         2,048            0
191 57         30,240           25,920           24,000         1,920            0
192 58         31,968           27,648           25,600         2,048            0
193 59         32,112           27,792           25,616         2,176            0
194 60         32,112           27,792           25,616         2,176            0
19592.17% (25,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
196->92.11% (25,600B) 0x........: main (peak.c:8)
197|
198->00.06% (16B) in 1+ places, all below ms_print's threshold (01.00%)
199
200--------------------------------------------------------------------------------
201  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
202--------------------------------------------------------------------------------
203 61         32,256           27,648           25,600         2,048            0
204 62         33,984           29,376           27,200         2,176            0
205 63         34,128           29,520           27,216         2,304            0
206 64         34,272           29,376           27,200         2,176            0
207 65         36,000           31,104           28,800         2,304            0
208 66         36,144           31,248           28,816         2,432            0
209 67         36,144           31,248           28,816         2,432            0
21092.22% (28,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
211->92.17% (28,800B) 0x........: main (peak.c:8)
212|
213->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%)
214
215--------------------------------------------------------------------------------
216  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
217--------------------------------------------------------------------------------
218 68         36,288           31,104           28,800         2,304            0
219 69         38,016           32,832           30,400         2,432            0
220 70         38,160           32,976           30,416         2,560            0
221 71         38,304           32,832           30,400         2,432            0
222 72         40,032           34,560           32,000         2,560            0
223 73         40,176           34,704           32,016         2,688            0
224 74         40,176           34,704           32,016         2,688            0
22592.25% (32,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
226->92.21% (32,000B) 0x........: main (peak.c:8)
227|
228->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%)
229
230--------------------------------------------------------------------------------
231  n        time(B)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
232--------------------------------------------------------------------------------
233 75         40,320           34,560           32,000         2,560            0
234