github.com/etecs-ru/ristretto@v0.9.1/contrib/memtest/README.md (about)

     1  memtest tests the effect of the C memory allocator. The default version uses Calloc from the stdlib. 
     2  
     3  If the program is built using the `jemalloc` build tag, then the allocator used will be jemalloc.
     4  
     5  # Monitoring #
     6  
     7  To monitor the memory use of this program, the following bash snippet is useful:
     8  
     9  ```
    10  while true; do
    11  ps -C memtest -o vsz=,rss= >> memphys.csv
    12  sleep 1
    13  done
    14  ```
    15  
    16  This is of course contingent upon the fact that the binary of this program is called `memtest`.