add memory VmHWM in python template
fix before merge