mxosrvr exit when heapsize become large,dcs part, change after last review

Change-Id: I881aba688404ad704a4c1ea4fe27cae3dd7dda84