'How do I ensure my job has enough memory to run using SLURM? Should I refer to MaxRss or MaxVMSize?

I wanted to reserve enough memory for my job. Should I set the memory to be larger than MaxRss or MaxVMSize? I am confused. Thank you!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source