From 9ded53a1602fb9782875267aebe330261643ec7c Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Tue, 5 Dec 2023 10:21:52 +0000 Subject: [PATCH] Usage is very close to the trend line. Smaller bins work fine --- conf/base.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/base.config b/conf/base.config index 78e0e04..378947a 100644 --- a/conf/base.config +++ b/conf/base.config @@ -79,7 +79,7 @@ process { withName: 'SAMTOOLS_SORMADUP' { cpus = { log_increase_cpus(2, 6*task.attempt, 1, 2) } - memory = { check_max( 10.GB + 6.GB * Math.ceil( meta.read_count / 1000000000 ) * task.attempt, 'memory' ) } + memory = { check_max( 10.GB + 0.6.GB * Math.ceil( meta.read_count / 100000000 ) * task.attempt, 'memory' ) } time = { check_max( 2.h * Math.ceil( meta.read_count / 100000000 ) * task.attempt / log_increase_cpus(2, 6*task.attempt, 1, 2), 'time' ) } }