Commit 15dda798 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix java memory resource

parent 06b9e5f2
......@@ -32,6 +32,7 @@ trait BiopetJavaCommandLineFunction extends JavaCommandLineFunction with BiopetC
optional("-Dscala.concurrent.context.numThreads=", threads, spaceSeparated = false)
override def beforeGraph(): Unit = {
setResources()
if (javaMemoryLimit.isEmpty && memoryLimit.isDefined)
javaMemoryLimit = memoryLimit
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment