add memory prof