improve memusage output

[ci skip]