Record some memory usage stats