Christopher Samuel <[email protected]> writes:
> Which shows that it can request as much as the machine has, despite
> Slurm being told it only wants 4GB of RAM.
I don't know if this is the reason in your case, but note that cgroup
in slurm constrains _resident_ RAM, not _allocated_ ("virtual") RAM.
Try filling the allocated memory with some values, and you will probably
see that after filling 4 GiB, the job is killed.
--
Regards,
Bjørn-Helge Mevik, dr. scient,
Research Computing Services, University of Oslo