yield only if memory null