enable share memory