Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
483fe407
Commit
483fe407
authored
Jun 30, 2015
by
Peter van 't Hof
Browse files
possible to override defaultVmemFactor now
parent
ee5ed3c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
View file @
483fe407
...
...
@@ -37,7 +37,8 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
var
vmem
:
Option
[
String
]
=
config
(
"vmem"
)
protected
val
defaultCoreMemory
:
Double
=
1.0
var
vmemFactor
:
Double
=
config
(
"vmem_factor"
,
default
=
1.5
)
protected
val
defaultVmemFactor
:
Double
=
1.4
var
vmemFactor
:
Double
=
config
(
"vmem_factor"
,
default
=
defaultVmemFactor
)
var
residentFactor
:
Double
=
config
(
"resident_factor"
,
default
=
1.2
)
...
...
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetJavaCommandLineFunction.scala
View file @
483fe407
...
...
@@ -25,6 +25,8 @@ trait BiopetJavaCommandLineFunction extends JavaCommandLineFunction with BiopetC
javaGCHeapFreeLimit
=
config
(
"java_gc_heap_freelimit"
)
javaGCTimeLimit
=
config
(
"java_gc_timelimit"
)
override
protected
val
defaultVmemFactor
:
Double
=
2.0
/** Constructs java opts, this adds scala threads */
override
def
javaOpts
=
super
.
javaOpts
+
optional
(
"-Dscala.concurrent.context.numThreads="
,
threads
,
spaceSeparated
=
false
,
escape
=
false
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment