measure memstat in KB instead of MB