check memory failure paths to improve coverage