I’ve writen a program in c++, compiled it with Intels C++ compiler and is running it under Mac OSX.
I would like to profile the maximum memory usage of the program, what tool would I use for this?
I would prefer a commandline tool, for scripting purposes.
Though I have not tried this, Valgrind Massif profiling tool should help to do this. From
Massif manual: