Used memory is now calculated more accurately