adjust memory size when converting spare