Skip to content

Commit

Permalink
feat: Add memory limit as well
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 6, 2024
1 parent d2f0b81 commit e5c4307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/nf-core/trimgalore/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
process TRIMGALORE {
tag "${meta.id}"
label 'process_high'
resourceLimits [cpus: 15]
// ~3GB per actual core used (15 cores * 3GB + 3GB buffer)
resourceLimits [memory: 48.GB, cpus: 15]

conda "${moduleDir}/environment.yml"
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
Expand Down

0 comments on commit e5c4307

Please sign in to comment.