From 8c9dcb5b77daafa4d34b309f1715a58e015635b6 Mon Sep 17 00:00:00 2001 From: Peter van 't Hof <p.j.van_t_hof@lumc.nl> Date: Sat, 7 Mar 2015 17:59:23 +0100 Subject: [PATCH] Fix memlimit --- .../lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala index b0657e369..38d0b5289 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala @@ -39,7 +39,7 @@ trait BiopetJavaCommandLineFunction extends JavaCommandLineFunction with BiopetC */ override def beforeGraph { super.beforeGraph - memoryLimit = config("memory_limit") + if (memoryLimit.isEmpty) memoryLimit = config("memory_limit") } /** -- GitLab