Fix typo in XArray.in_memory