Problems following Retroarch megathread

Hi. I have been trying and failing to follow the Retroarch megathread. I posted this query on that thread 2 months ago but received no replies so am asking here instead. Please could you explain why this is not working, I don’t understand the error. I have tried on a macbook pro and on an iMac and get the same issue on each
Many thanks

“out of memory”

créate a swap file to fake more memory

Brilliant, thanks for that. That fixed it and I have finally made it to the end of the mega thread, on to the next one!