Peak memory


#1

Maybe a silly question but is there a way to know the peak memory (not the total allocated memory) occupied during the execution of a julia function? (under Windows if possible)
Thanks.


#2

The unix time program can report this (sometimes with an extra flag, such as /usr/bin/time -l). I don’t know of the corresponding Windows capability.


#3

Thanks for the reply. /usr/bin/time would certainly be an option but I thought that the GC would also keep track of the peak memory.