recidivm
recidivm estimates the target program's peak virtual memory use by running it multiple times with different memory limits.
License: The Expat license
Version: 0.2.1 released on 2024-02-01
Links:
Example:
$ gcc -m32 hello.c -o hello32
$ gcc -m64 hello.c -o hello64
$ gcc -m32 -fsanitize=address hello.c -o hello32asan
$ gcc -m64 -fsanitize=address hello.c -o hello64asan
$ recidivm -u M ./hello32
2
$ recidivm -u M ./hello64
4
$ recidivm -u M ./hello32asan
538
$ recidivm -u M ./hello64asan
20971587