From e5c4307a12ab4482815537d3d3620be666521a81 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 5 Dec 2024 21:59:44 -0600 Subject: [PATCH] feat: Add memory limit as well --- modules/nf-core/trimgalore/main.nf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/nf-core/trimgalore/main.nf b/modules/nf-core/trimgalore/main.nf index 9f27f3529b2..66d1b24493c 100644 --- a/modules/nf-core/trimgalore/main.nf +++ b/modules/nf-core/trimgalore/main.nf @@ -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