1-------------------------------------------------------------------------------- 2Command: ./peak 3Massif arguments: --stacks=no --time-unit=B --peak-inaccuracy=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: 81 33 Detailed snapshots: [3, 7, 11, 15, 19, 23, 27, 31, 35, 39, 43, 47, 51, 55, 59, 63, 67, 71, 75, 79 (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,032 19,152 17,616 1,536 0 16291.98% (17,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 163->91.90% (17,600B) 0x........: main (peak.c:8) 164| 165->00.08% (16B) in 1+ places, all below ms_print's threshold (01.00%) 166 167-------------------------------------------------------------------------------- 168 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 169-------------------------------------------------------------------------------- 170 44 22,176 19,008 17,600 1,408 0 171 45 23,904 20,736 19,200 1,536 0 172 46 24,048 20,880 19,216 1,664 0 173 47 24,048 20,880 19,216 1,664 0 17492.03% (19,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 175->91.95% (19,200B) 0x........: main (peak.c:8) 176| 177->00.08% (16B) in 1+ places, all below ms_print's threshold (01.00%) 178 179-------------------------------------------------------------------------------- 180 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 181-------------------------------------------------------------------------------- 182 48 24,192 20,736 19,200 1,536 0 183 49 25,920 22,464 20,800 1,664 0 184 50 26,064 22,608 20,816 1,792 0 185 51 26,064 22,608 20,816 1,792 0 18692.07% (20,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 187->92.00% (20,800B) 0x........: main (peak.c:8) 188| 189->00.07% (16B) in 1+ places, all below ms_print's threshold (01.00%) 190 191-------------------------------------------------------------------------------- 192 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 193-------------------------------------------------------------------------------- 194 52 26,208 22,464 20,800 1,664 0 195 53 27,936 24,192 22,400 1,792 0 196 54 28,080 24,336 22,416 1,920 0 197 55 28,080 24,336 22,416 1,920 0 19892.11% (22,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 199->92.04% (22,400B) 0x........: main (peak.c:8) 200| 201->00.07% (16B) in 1+ places, all below ms_print's threshold (01.00%) 202 203-------------------------------------------------------------------------------- 204 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 205-------------------------------------------------------------------------------- 206 56 28,224 24,192 22,400 1,792 0 207 57 29,952 25,920 24,000 1,920 0 208 58 30,096 26,064 24,016 2,048 0 209 59 30,096 26,064 24,016 2,048 0 21092.14% (24,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 211->92.08% (24,000B) 0x........: main (peak.c:8) 212| 213->00.06% (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 60 30,240 25,920 24,000 1,920 0 219 61 31,968 27,648 25,600 2,048 0 220 62 32,112 27,792 25,616 2,176 0 221 63 32,112 27,792 25,616 2,176 0 22292.17% (25,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 223->92.11% (25,600B) 0x........: main (peak.c:8) 224| 225->00.06% (16B) in 1+ places, all below ms_print's threshold (01.00%) 226 227-------------------------------------------------------------------------------- 228 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 229-------------------------------------------------------------------------------- 230 64 32,256 27,648 25,600 2,048 0 231 65 33,984 29,376 27,200 2,176 0 232 66 34,128 29,520 27,216 2,304 0 233 67 34,128 29,520 27,216 2,304 0 23492.20% (27,216B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 235->92.14% (27,200B) 0x........: main (peak.c:8) 236| 237->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%) 238 239-------------------------------------------------------------------------------- 240 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 241-------------------------------------------------------------------------------- 242 68 34,272 29,376 27,200 2,176 0 243 69 36,000 31,104 28,800 2,304 0 244 70 36,144 31,248 28,816 2,432 0 245 71 36,144 31,248 28,816 2,432 0 24692.22% (28,816B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 247->92.17% (28,800B) 0x........: main (peak.c:8) 248| 249->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%) 250 251-------------------------------------------------------------------------------- 252 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 253-------------------------------------------------------------------------------- 254 72 36,288 31,104 28,800 2,304 0 255 73 38,016 32,832 30,400 2,432 0 256 74 38,160 32,976 30,416 2,560 0 257 75 38,160 32,976 30,416 2,560 0 25892.24% (30,416B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 259->92.19% (30,400B) 0x........: main (peak.c:8) 260| 261->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%) 262 263-------------------------------------------------------------------------------- 264 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 265-------------------------------------------------------------------------------- 266 76 38,304 32,832 30,400 2,432 0 267 77 40,032 34,560 32,000 2,560 0 268 78 40,176 34,704 32,016 2,688 0 269 79 40,176 34,704 32,016 2,688 0 27092.25% (32,016B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 271->92.21% (32,000B) 0x........: main (peak.c:8) 272| 273->00.05% (16B) in 1+ places, all below ms_print's threshold (01.00%) 274 275-------------------------------------------------------------------------------- 276 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 277-------------------------------------------------------------------------------- 278 80 40,320 34,560 32,000 2,560 0 279