Hi all,
I am running a query when I came across this error (after a good 30 minutes)

I understand from online sources that this boils down to a lack of memory issue. However, I have ample memory (and my system did not show any issues when I was running this query).
In addition, the file mentioned here is a temp. file which disappears, so fixing the file itself cannot be done.
Can anybody advise on how this problem may be mitigated?