Improve accounting of max active memory.
Improve accounting of max active memory.

(Before we were actually only checking active memory when printing
final stats; now it’s updated after each file upload.)
clonemeagain/skicka,pnu/skicka,google/skicka