From 7c39cc669b1c1409001f3f4eb2a6b4a65929e07a Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Wed, 4 Apr 2018 13:19:28 +0200
Subject: [PATCH] give sampleConfig more memory

---
 biopet.wdl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/biopet.wdl b/biopet.wdl
index 2868f0c..cb3938d 100644
--- a/biopet.wdl
+++ b/biopet.wdl
@@ -62,7 +62,7 @@ task SampleConfig {
         set -e -o pipefail
         ${preCommand}
         mkdir -p . ${"$(dirname " + jsonOutputPath + ")"} ${"$(dirname " + tsvOutputPath + ")"}
-        java -Xmx2G -jar ${tool_jar} \
+        java -Xmx4G -jar ${tool_jar} \
         -i ${sep="-i " inputFiles} \
         ${"--sample " + sample} \
         ${"--library " + library} \
@@ -77,6 +77,10 @@ task SampleConfig {
         File? tsvOutput = tsvOutputPath
         Object values = if (defined(tsvOutput) && size(tsvOutput) > 0) then read_map(tsvOutput) else { "": "" }
     }
+
+    runtime {
+        memory: 6
+    }
 }
 
 task BaseCounter {
-- 
GitLab