I am running a job at MobaXterm through .sh file that I set all the requirements with the #SBATCH command:
#SBATCH --time=10-00:00:00 #SBATCH --partition=long #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --mem-per-cpu=200
and I get the following error
slurmstepd: error: Detected 1 oom-kill event(s) in StepId=28189537.batch cgroup. Some of your processes may have been killed by the cgroup out-of-memory handler.
Note that if I run the same .sh for a different Rscript (and change also the requirements for fast partition and less time), I do not have such a problem. What seems to be done wrong here?
Thank you in advance for your answer.