add memory usage