...
- Explicitly request for more memory per task or threadfor the job, using the directive
#SBATCH --mem-per-cpu=10G
(10 GB in this example). This is best used with the--cpus-per-task
option for full control, orNote that jobs are charged based on whichever is higher of the fraction of cores used per node or fraction of memory used per node, so increasing the total requested memory may cause your job to be charged at a higher rate. - Increase the memory available to the application by reducing the number of tasks your code uses within a node (but still request all the same number of CPUs for the job's allocation, otherwise another job might be allocated on the node). Or,
- Reduce the memory requirement of the application - which may mean reducing the problem size, but may also mean checking for the possibility of memory leaks if you are developing your own code.
...