add memory logging