you can enable swap though
https://forums.raspberrypi.com/viewtopic.php?t=327238 use pi-apps to download the more ram app which uses your boot device as ram (-ish) it's not the best solution because it increases the likelihood of SD card failure and is quite slow but it can work