migrate to add memory_usage