Yes, peak memory is the only thing that can actually be measured. We must be
aware that there are many things that can make this inaccurate (memory
fragmentation, memory sometimes being requested from the OS in chunks of 1 MB or
more, memory that has already been allocated but not used), but at least we get
real data.
|