Fedora killing process filling up RAM

I have a program I want to run till completion. The program uses a ton of data, and fills up the RAM. I understand that I can work on making the program memory efficient, and that will be done, but for the time being, or for when I can no longer conserve memory, how do I prevent Fedora from killing this process?

I understand that memory can be saved to the disk via swap, and that it will cause considerable slowdown, but that is OK. I want to use all the memory I can and have considerable SSD for swap. The problem is that swap isn’t even close to full when this process gets killed. Just the ram is full.

So, how do I prevent programs from getting killed when RAM fills up?

1 Like

Swap file wasn’t being filled up. Disabling the OOM-killer worked.