Handling the case where we run out of space in the memory pool