-------------------------------------------------------------------------------- Command: sort -n -o/dev/null test.txt Massif arguments: --massif-out-file=massif.sort.default ms_print arguments: massif.sort.default -------------------------------------------------------------------------------- MB 114.7^ ######################################### | @# ::::::::::::::: | :@# : : | :@@# : : | @:@@# : : | @:@@# : : | :@:@@# : : | ::@:@@# : : | :::@:@@# : : | :::@:@@# : : | @:::@:@@# : : | :@:::@:@@# : : | ::@:::@:@@# : : | :::@:::@:@@# : : | @:::@:::@:@@# : : | @:::@:::@:@@# : : | @@:::@:::@:@@# : : | :@@:::@:::@:@@# : : | :@@@:::@:::@:@@# : : |::@@@:::@:::@:@@# : : 0 +----------------------------------------------------------------------->Gi 0 11.09 Number of snapshots: 70 Detailed snapshots: [1, 9, 15, 19, 31, 48, 54, 64, 67 (peak)] -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 0 0 0 0 0 0 1 763,909 100,248 100,210 38 0 99.96% (100,210B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->99.83% (100,080B) 0x493BC22: ??? (in /lib/libc.so.7) | ->99.83% (100,080B) 0x493CD97: ??? (in /lib/libc.so.7) | ->99.83% (100,080B) 0x493CC88: ??? (in /lib/libc.so.7) | ->99.83% (100,080B) 0x493CB43: ??? (in /lib/libc.so.7) | ->99.83% (100,080B) 0x493C772: setlocale (in /lib/libc.so.7) | ->99.83% (100,080B) 0x115D42: main (in /usr/bin/sort) | ->00.13% (130B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 2 26,518,467 1,477,656 1,173,180 304,476 0 3 66,807,866 3,331,048 2,593,980 737,068 0 4 120,328,796 5,793,736 4,481,996 1,311,740 0 5 156,331,581 7,446,616 5,748,300 1,698,316 0 6 209,910,203 9,911,840 7,638,208 2,273,632 0 7 249,954,596 11,656,760 9,008,976 2,647,784 0 8 309,566,298 14,165,288 11,016,856 3,148,432 0 9 354,274,730 16,040,536 12,516,616 3,523,920 0 78.03% (12,516,616B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->69.99% (11,227,512B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.13% (5,956,520B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.13% (5,956,520B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.13% (5,956,480B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.13% (5,956,480B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->32.83% (5,266,800B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->32.83% (5,266,800B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->32.83% (5,266,800B) 0x11412E: procfile (in /usr/bin/sort) | | ->32.83% (5,266,800B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.03% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.60% (1,057,874B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.59% (1,057,800B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.59% (1,057,800B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.59% (1,057,800B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->01.44% (231,230B) in 5 places, all below massif's threshold (1.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 10 418,144,655 18,724,136 14,663,816 4,060,320 0 11 473,493,819 21,173,608 16,578,192 4,595,416 0 12 516,062,397 23,133,096 18,080,608 5,052,488 0 13 560,630,954 25,178,544 19,647,496 5,531,048 0 14 612,329,513 27,562,944 21,476,796 6,086,148 0 15 656,644,335 29,597,416 23,035,448 6,561,968 0 77.83% (23,035,448B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.43% (20,844,344B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.35% (11,053,752B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.35% (11,053,752B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.35% (11,053,712B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.35% (11,053,712B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.07% (9,786,400B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.07% (9,786,400B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.07% (9,786,400B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.07% (9,786,400B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.01% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.62% (1,959,874B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.62% (1,959,800B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.62% (1,959,800B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.62% (1,959,800B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.78% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 16 693,572,227 31,298,248 24,339,772 6,958,476 0 17 723,116,531 32,596,696 25,358,760 7,237,936 0 18 767,433,738 34,456,600 26,846,464 7,610,136 0 19 804,364,258 36,137,800 28,141,192 7,996,608 0 77.87% (28,141,192B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.61% (25,515,488B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.48% (13,544,256B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.48% (13,544,256B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.48% (13,544,216B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.48% (13,544,216B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.12% (11,967,040B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.12% (11,967,040B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.12% (11,967,040B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.12% (11,967,040B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.01% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.63% (2,394,474B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.63% (2,394,400B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.63% (2,394,400B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.63% (2,394,400B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.64% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 20 856,062,976 38,601,160 30,003,400 8,597,760 0 21 915,146,945 41,327,408 32,095,232 9,232,176 0 22 966,218,701 43,676,664 33,896,128 9,780,536 0 23 991,755,746 44,847,288 34,792,540 10,054,748 0 24 1,042,826,584 47,196,544 36,593,440 10,603,104 0 25 1,093,898,382 49,545,816 38,394,336 11,151,480 0 26 1,119,435,451 50,724,632 39,298,948 11,425,684 0 27 1,170,510,004 52,916,568 41,035,372 11,881,196 0 28 1,208,813,989 54,524,408 42,321,524 12,202,884 0 29 1,247,118,789 56,132,264 43,607,676 12,524,588 0 30 1,298,192,269 58,438,232 45,395,576 13,042,656 0 31 1,362,033,973 61,377,016 47,648,864 13,728,152 0 77.63% (47,648,864B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.60% (43,333,960B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.40% (22,952,008B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.40% (22,952,008B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.40% (22,951,968B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.40% (22,951,968B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.20% (20,377,760B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.20% (20,377,760B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.20% (20,377,760B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.20% (20,377,760B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.01% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.65% (4,083,674B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.65% (4,083,600B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.65% (4,083,600B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.65% (4,083,600B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.38% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 32 1,413,106,202 63,730,328 49,449,804 14,280,524 0 33 1,464,179,497 66,055,472 51,241,684 14,813,788 0 34 1,502,485,881 67,663,272 52,527,876 15,135,396 0 35 1,540,790,231 69,346,168 53,844,012 15,502,156 0 36 1,604,639,460 72,299,544 56,103,548 16,195,996 0 37 1,655,719,486 74,649,048 57,904,740 16,744,308 0 38 1,694,029,378 76,417,320 59,261,784 17,155,536 0 39 1,732,339,182 78,177,400 60,610,628 17,566,772 0 40 1,770,652,552 79,808,440 61,905,708 17,902,732 0 41 1,821,731,479 82,186,744 63,725,160 18,461,584 0 42 1,860,042,126 83,946,824 65,074,004 18,872,820 0 43 1,898,351,985 85,706,904 66,422,848 19,284,056 0 44 1,949,431,998 88,056,408 68,224,040 19,832,368 0 45 1,974,971,667 89,235,256 69,128,736 20,106,520 0 46 2,026,051,682 91,584,760 70,929,928 20,654,832 0 47 2,089,904,181 94,483,256 73,170,488 21,312,768 0 48 2,128,214,048 96,243,336 74,519,332 21,724,004 0 77.43% (74,519,332B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.53% (67,883,828B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.28% (35,879,076B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.28% (35,879,076B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.28% (35,879,036B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.28% (35,879,036B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.25% (32,000,560B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.25% (32,000,560B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.25% (32,000,560B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.25% (32,000,560B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.65% (6,404,274B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.65% (6,404,200B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.65% (6,404,200B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.65% (6,404,200B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.24% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 49 2,192,064,272 99,182,264 76,772,872 22,409,392 0 50 2,217,601,747 100,352,864 77,669,328 22,683,536 0 51 2,243,139,216 101,531,544 78,573,896 22,957,648 0 52 2,268,676,654 102,710,336 79,478,552 23,231,784 0 53 2,294,214,407 103,868,952 80,370,384 23,498,568 0 54 2,319,753,800 104,943,624 81,230,640 23,712,984 0 77.40% (81,230,640B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.53% (74,012,936B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.27% (39,108,664B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.27% (39,108,664B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.27% (39,108,624B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.27% (39,108,624B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.26% (34,900,080B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.26% (34,900,080B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.26% (34,900,080B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.26% (34,900,080B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.66% (6,986,474B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.66% (6,986,400B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.66% (6,986,400B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.66% (6,986,400B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.22% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 55 2,345,291,907 106,181,272 82,160,508 24,020,764 0 56 2,370,829,731 107,351,816 83,056,920 24,294,896 0 57 2,396,366,884 108,530,552 83,961,532 24,569,020 0 58 2,421,904,620 109,701,096 84,857,944 24,843,152 0 59 2,447,441,702 110,879,832 85,762,556 25,117,276 0 60 2,472,979,592 112,058,568 86,667,168 25,391,400 0 61 2,498,516,943 113,229,168 87,563,624 25,665,544 0 62 2,524,054,411 114,407,848 88,468,192 25,939,656 0 63 2,549,592,712 115,584,440 89,367,092 26,217,348 0 64 2,575,130,218 116,833,456 90,300,992 26,532,464 0 77.29% (90,300,992B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.44% (82,296,088B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.17% (43,426,336B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.17% (43,426,336B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.17% (43,426,296B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.17% (43,426,296B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.27% (38,865,560B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.27% (38,865,560B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.27% (38,865,560B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.27% (38,865,560B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.65% (7,773,674B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.65% (7,773,600B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.65% (7,773,600B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.65% (7,773,600B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.20% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 65 2,600,669,283 118,012,248 91,205,644 26,806,604 0 66 2,626,207,239 119,190,984 92,110,256 27,080,728 0 67 2,649,087,297 120,239,208 92,912,872 27,326,336 0 77.27% (92,912,872B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. ->70.42% (84,678,368B) 0x114C18: sort_malloc (in /usr/bin/sort) | ->37.15% (44,674,176B) 0x10E99B: bwscsbdup (in /usr/bin/sort) | | ->37.15% (44,674,176B) 0x113FAD: file_reader_readline (in /usr/bin/sort) | | ->37.15% (44,674,136B) 0x11411A: procfile (in /usr/bin/sort) | | | ->37.15% (44,674,136B) 0x116CBD: main (in /usr/bin/sort) | | | | | ->00.00% (40B) in 1+ places, all below ms_print's threshold (01.00%) | | | ->33.27% (40,000,000B) 0x110952: sort_list_item_alloc (in /usr/bin/sort) | | ->33.27% (40,000,000B) 0x1131CE: sort_list_add (in /usr/bin/sort) | | ->33.27% (40,000,000B) 0x11412E: procfile (in /usr/bin/sort) | | ->33.27% (40,000,000B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (4,192B) in 1+ places, all below ms_print's threshold (01.00%) | ->06.66% (8,003,274B) 0x114C58: sort_realloc (in /usr/bin/sort) | ->06.66% (8,003,200B) 0x1131B3: sort_list_add (in /usr/bin/sort) | | ->06.66% (8,003,200B) 0x11412E: procfile (in /usr/bin/sort) | | ->06.66% (8,003,200B) 0x116CBD: main (in /usr/bin/sort) | | | ->00.00% (74B) in 1+ places, all below ms_print's threshold (01.00%) | ->00.19% (231,230B) in 1+ places, all below ms_print's threshold (01.00%) -------------------------------------------------------------------------------- n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) -------------------------------------------------------------------------------- 68 9,556,858,497 120,103,896 92,777,599 27,326,297 0 69 11,912,343,455 120,103,896 92,777,599 27,326,297 0