wsclient save memory