You might try a bigger swapfile, like 2gb.
I’ve used RT on the pi, but it was with a 64bit OS running docker.