How can I run multiple fivem servers on only one ip but with different ports?

I have opened ports 30120 udp+tcp 40120 udp+tcp, 30130 udp+tcp and 40130 udp+tcp
But when starting the second server I get this error and the fxserver is crashing
I start the first server with following command: ulimit -v 16000000000 && ./run.sh +set serverProfile “server1” +set txAdminPort “40120”
I start the second server with following command: ulimit -v 16000000000 && ./run.sh +set serverProfile “server2” +set txAdminPort “40130”

image

That quote is not a ", it’s a . Try using " on both sides.

that would work
but the problem is that there are no resources available. The first server starts with 32gb of ram and thats all the server have. How can I start the server with only 16gb and the second with 16gb then too?