ios memory for rendering