‘-s’ prints statistics about memory usage at the end of the run.
‘-sm’ prints statistics about memory usage at the end of the run, just as does ‘-s’; it also prints information about dynamic memory allocations as they occur. ‘-smnnn’ displays allocations of nnn bytes or more; if nnn is missing, 10000 is assumed.