removing sysmem_resizeptr call