Search code examples
slurmjob-scheduling

Slurm uses more memory than allocated


As you can see in the picture below, I have made a sbatch script so that 10 job array (with 1GB of memory allocation) to be run. However, when I run it as the second picture shows, the memory used is 3.7% of total memory, which equates to about 18.9GB per job... Could anyone explain why this is happening? (I did sbatch --nodelist node1 ver_5_FINAL_array_bash on the linux terminal ) Thank you! enter image description here

For reference, the picture below shows that the amount of allocated memory is indeed 10GB, as specified in the sbatch script

Possibly pertinent information: our servers use both slurm and regular job submissions (without any job submission methods like slurm) enter image description here


Solution

  • By default, the --mem option gives the minimum memory requirement (see the documentation here: https://slurm.schedmd.com/sbatch.html#OPT_mem)