add a new utility to get the used memory size.