cs_v2 add memory stat in log