My fivem keeps crashing process out of memory

You need to open your citizenfx.log, copy what’s inside, and paste it in pastebin. Then give us the link to the pastebin you just made.