ruby: remove the functional copy of memory in se mode