change share mem