add runtime.ReadMemStats to control port