make memory share an option