--------------------------------------------------------------------------------
Command:            apex-ram-endpoint cnsa20-apex server 11313 /usr/share/wolfssl/certs/server-mldsa87-key.der
Massif arguments:   --stacks=yes --peak-inaccuracy=0.1 --max-snapshots=200 --detailed-freq=1000000 --massif-out-file=/root/results_run_2/cnsa20_apex_endpoint.server.massif
ms_print arguments: cnsa20_apex_endpoint.server.massif
--------------------------------------------------------------------------------


    KB
39.03^                 #                                                      
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |       ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::  ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::  ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::  ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::  ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::  ::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     |  :::::::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
     | ::::::::::::::::#::::::::::::::::::::::::::::::::::::::::::::::::::::::
   0 +----------------------------------------------------------------------->Mi
     0                                                                   23.75

Number of snapshots: 121
 Detailed snapshots: [27 (peak)]

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
  0              0                0                0             0            0
  1        238,623            1,896                0             0        1,896
  2        521,546            2,384              672            40        1,672
  3        762,880           14,224            8,320            24        5,880
  4        974,735           14,288            8,320            24        5,944
  5      1,228,915           14,920            8,826            38        6,056
  6      1,432,225           14,288            8,320            24        5,944
  7      1,577,104            5,512              128             8        5,376
  8      1,794,448            5,512              128             8        5,376
  9      1,909,999            5,512              128             8        5,376
 10      2,127,343            5,512              128             8        5,376
 11      2,442,543           39,384           32,497            47        6,840
 12      2,758,833           38,736           31,817            31        6,888
 13      2,967,605           38,648           31,817            31        6,800
 14      3,298,989           38,648           31,817            31        6,800
 15      3,510,685           38,648           31,817            31        6,800
 16      3,750,070           38,648           31,817            31        6,800
 17      3,911,509           38,736           31,817            31        6,888
 18      4,105,074           38,736           31,817            31        6,888
 19      4,436,451           38,736           31,817            31        6,888
 20      4,652,225           38,648           31,817            31        6,800
 21      4,771,922           38,648           31,817            31        6,800
 22      5,007,222           38,736           31,817            31        6,888
 23      5,338,620           38,736           31,817            31        6,888
 24      5,554,394           38,648           31,817            31        6,800
 25      5,674,091           38,648           31,817            31        6,800
 26      5,909,391           38,736           31,817            31        6,888
 27      6,173,564           39,968           32,841            39        7,088
82.17% (32,841B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->67.04% (26,793B) 0x4884985: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->67.04% (26,793B) 0x4885B1C: wc_MlDsaKey_SignCtx (in /usr/lib/libwolfssl.so.46.0.0)
|   ->67.04% (26,793B) 0x109CB8: ??? (in /usr/bin/apex-ram-endpoint)
|     ->67.04% (26,793B) 0x10AF94: ??? (in /usr/bin/apex-ram-endpoint)
|       ->67.04% (26,793B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->12.25% (4,896B) 0x4886833: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->12.25% (4,896B) 0x4887810: wc_MlDsaKey_PrivateKeyDecode (in /usr/lib/libwolfssl.so.46.0.0)
|   ->12.25% (4,896B) 0x109BFD: ??? (in /usr/bin/apex-ram-endpoint)
|     ->12.25% (4,896B) 0x109C85: ??? (in /usr/bin/apex-ram-endpoint)
|       ->12.25% (4,896B) 0x10AF94: ??? (in /usr/bin/apex-ram-endpoint)
|         ->12.25% (4,896B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|           
->02.56% (1,024B) 0x4884D96: ??? (in /usr/lib/libwolfssl.so.46.0.0)
| ->02.56% (1,024B) 0x4885B1C: wc_MlDsaKey_SignCtx (in /usr/lib/libwolfssl.so.46.0.0)
|   ->02.56% (1,024B) 0x109CB8: ??? (in /usr/bin/apex-ram-endpoint)
|     ->02.56% (1,024B) 0x10AF94: ??? (in /usr/bin/apex-ram-endpoint)
|       ->02.56% (1,024B) 0x48EE08D: (below main) (libc_start_call_main.h:58)
|         
->00.32% (128B) in 1+ places, all below ms_print's threshold (01.00%)

--------------------------------------------------------------------------------
  n        time(i)         total(B)   useful-heap(B) extra-heap(B)    stacks(B)
--------------------------------------------------------------------------------
 28      6,306,393           38,648           31,817            31        6,800
 29      6,527,041           38,648           31,817            31        6,800
 30      6,775,487           39,384           32,497            47        6,840
 31      6,903,682           39,384           32,497            47        6,840
 32      7,227,078           38,648           31,817            31        6,800
 33      7,438,774           38,648           31,817            31        6,800
 34      7,678,159           38,648           31,817            31        6,800
 35      7,889,855           38,648           31,817            31        6,800
 36      8,129,240           38,648           31,817            31        6,800
 37      8,340,929           38,648           31,817            31        6,800
 38      8,580,321           38,648           31,817            31        6,800
 39      8,792,010           38,648           31,817            31        6,800
 40      9,031,395           38,648           31,817            31        6,800
 41      9,362,781           38,648           31,817            31        6,800
 42      9,542,321           38,648           31,817            31        6,800
 43      9,694,179           38,648           31,817            31        6,800
 44      9,933,564           38,648           31,817            31        6,800
 45     10,053,261           38,648           31,817            31        6,800
 46     10,384,638           38,648           31,817            31        6,800
 47     10,597,415           39,864           32,841            39        6,984
 48     10,747,460           39,384           32,497            47        6,840
 49     10,931,207           38,656           31,817            31        6,808
 50     11,220,073           38,648           31,817            31        6,800
 51     11,431,769           38,648           31,817            31        6,800
 52     11,671,154           38,648           31,817            31        6,800
 53     12,002,547           38,648           31,817            31        6,800
 54     12,241,925           38,648           31,817            31        6,800
 55     12,393,783           38,648           31,817            31        6,800
 56     12,583,685           38,656           31,817            31        6,808
 57     12,882,479           38,736           31,817            31        6,888
 58     13,084,235           38,648           31,817            31        6,800
 59     13,366,145           38,656           31,817            31        6,808
 60     13,572,940           38,736           31,817            31        6,888
 61     13,757,383           38,656           31,817            31        6,808
 62     13,964,188           38,736           31,817            31        6,888
 63     14,168,875           38,736           31,817            31        6,888
 64     14,355,419           38,736           31,817            31        6,888
 65     14,545,729           39,864           32,841            39        6,984
 66     14,761,465           38,648           31,817            31        6,800
 67     14,945,905           39,384           32,497            47        6,840
 68     15,139,208           38,648           31,817            31        6,800
 69     15,329,112           38,656           31,817            31        6,808
 70     15,533,527           38,608           31,817            31        6,760
 71     15,720,355           38,656           31,817            31        6,808
 72     15,927,148           38,736           31,817            31        6,888
 73     16,111,591           38,656           31,817            31        6,808
 74     16,318,384           38,736           31,817            31        6,888
 75     16,523,064           38,736           31,817            31        6,888
 76     16,709,622           38,736           31,817            31        6,888
 77     17,003,370           38,648           31,817            31        6,800
 78     17,193,279           38,656           31,817            31        6,808
 79     17,492,080           38,736           31,817            31        6,888
 80     17,693,836           38,648           31,817            31        6,800
 81     17,975,760           38,656           31,817            31        6,808
 82     18,182,560           38,736           31,817            31        6,888
 83     18,366,989           38,656           31,817            31        6,808
 84     18,683,308           38,648           31,817            31        6,800
 85     18,892,292           38,648           31,817            31        6,800
 86     19,112,940           38,648           31,817            31        6,800
 87     19,442,370           38,648           31,817            31        6,800
 88     19,742,045           39,384           32,497            47        6,840
 89     20,036,982           38,656           31,817            31        6,808
 90     20,241,397           38,608           31,817            31        6,760
 91     20,428,225           38,656           31,817            31        6,808
 92     20,635,018           38,736           31,817            31        6,888
 93     20,819,461           38,656           31,817            31        6,808
 94     21,026,254           38,736           31,817            31        6,888
 95     21,230,934           38,736           31,817            31        6,888
 96     21,417,492           38,736           31,817            31        6,888
 97     21,711,240           38,648           31,817            31        6,800
 98     22,010,477           38,648           31,817            31        6,800
 99     22,292,387           38,656           31,817            31        6,808
100     22,411,299           38,736           31,817            31        6,888
101     22,531,343           38,736           31,817            31        6,888
102     22,651,033           38,736           31,817            31        6,888
103     22,770,735           38,736           31,817            31        6,888
104     22,890,430           38,736           31,817            31        6,888
105     23,007,732           38,608           31,817            31        6,760
106     23,124,335           38,648           31,817            31        6,800
107     23,244,023           38,648           31,817            31        6,800
108     23,363,713           38,648           31,817            31        6,800
109     23,493,935           38,648           31,817            31        6,800
110     23,627,790           38,648           31,817            31        6,800
111     23,765,570           38,648           31,817            31        6,800
112     23,882,025           38,600           31,817            31        6,752
113     24,013,162           38,648           31,817            31        6,800
114     24,150,157           38,648           31,817            31        6,800
115     24,285,620           38,648           31,817            31        6,800
116     24,422,619           38,648           31,817            31        6,800
117     24,539,239           38,600           31,817            31        6,752
118     24,670,361           38,648           31,817            31        6,800
119     24,788,315           11,216            5,024            16        6,176
120     24,905,848            2,392                0             0        2,392
