Improve handling of error case where off-heap buffer not available