Why does “xfs_check” say “out of memory”?
The xfstools use a huge amount of virtual memory when operating on large filesystems. The CLN HOWTO has some helpful information about using temporary swap space when necessary for accomodating the xfstools’ virtual memory requirements. CLN HOWTO: Repairing a Filesystem The 32-bit xfstools are limited in the size of the filesystem they can operate on, but 64-bit systems overcome this limitation. This limit is likely to be encountered with 32-bit xfstools for filesystems over 2 TiB in size.