1 --------------------------------------------------------------------------------
3 Massif arguments
: --stacks
=no
--time
-unit
=B
--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
--alloc
-fn
=_xpc_malloc
--ignore
-fn
=_xpc_dictionary_insert
--ignore
-fn
=map_images_nolock
--ignore
-fn
=allocBuckets
(void
*, unsigned
int) --ignore
-fn
=realizeClass
(objc_class
*) --ignore
-fn
=_NXHashRehashToCapacity
--ignore
-fn
=NXCreateHashTableFromZone
--ignore
-fn
=NXCreateMapTableFromZone
--ignore
-fn
=NXHashInsert
--ignore
-fn
=add_class_to_loadable_list
--ignore
-fn
=class_createInstance
--ignore
-fn
=xpc_string_create
--alloc
-fn
=strdup
--alloc
-fn
=_xpc_calloc
--ignore
-fn
=xpc_array_create
4 ms_print arguments
: massif.out
5 --------------------------------------------------------------------------------
23 |
:::::::: : : : : @
:
25 |
:::::::: : : : : : @
:
27 |
:::::::: : : : : : : @
:
29 0 +----------------------------------------------------------------------->MB
32 Number of snapshots
: 11
33 Detailed snapshots
: [9]
35 --------------------------------------------------------------------------------
36 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
37 --------------------------------------------------------------------------------
39 1 10,489,832 10,489,832 10,485,760 4,072 0
40 2 20,979,664 20,979,664 20,971,520 8,144 0
41 3 31,469,496 31,469,496 31,457,280 12,216 0
42 4 41,959,328 41,959,328 41,943,040 16,288 0
43 5 52,449,160 52,449,160 52,428,800 20,360 0
44 6 62,938,992 62,938,992 62,914,560 24,432 0
45 7 73,428,824 73,428,824 73,400,320 28,504 0
46 8 83,918,656 83,918,656 83,886,080 32,576 0
47 9 94,408,488 94,408,488 94,371,840 36,648 0
48 99.96% (94,371,840B
) (heap allocation functions
) malloc
/new
/new
[], --alloc
-fns
, etc.
49 ->99.96% (94,371,840B
) 0x........
: main
(big
-alloc.c
:12)
51 --------------------------------------------------------------------------------
52 n time
(B
) total(B
) useful
-heap
(B
) extra
-heap
(B
) stacks
(B
)
53 --------------------------------------------------------------------------------
54 10 104,898,320 104,898,320 104,857,600 40,720 0