memusage script added

[ci skip]