From 960aa3cf0a713b6d7870b33c529e22b98b711aea Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Fri, 4 Mar 2022 15:06:49 +0100
Subject: [PATCH] Slightly less records in RAM

---
 picard.wdl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/picard.wdl b/picard.wdl
index e81cd4e..436369d 100644
--- a/picard.wdl
+++ b/picard.wdl
@@ -1038,7 +1038,7 @@ task UmiAwareMarkDuplicatesWithMateCigar {
         String outputPath
         String outputPathMetrics = outputPath + ".metrics"
         String outputPathUmiMetrics = outputPath + ".umi-metrics"
-        Int maxRecordsInRam = 3000000  # Default is 500_000 but that will lead to very small files on disk.
+        Int maxRecordsInRam = 1500000  # Default is 500_000 but that will lead to very small files on disk.
         String? assumeSortOrder
         String tempdir = "temp"
         Boolean removeDuplicates = true
-- 
GitLab