track vmsize and vmrss in an internal counter