mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 00:26:03 +00:00
Merge pull request #378 from raysloks/feat/hasta_java_memory_fix
Feat/hasta java memory fix
This commit is contained in:
commit
80e2a50a2f
2 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@ params {
|
||||||
|
|
||||||
singularity {
|
singularity {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
envWhitelist = ['_JAVA_OPTIONS']
|
||||||
}
|
}
|
||||||
|
|
||||||
params {
|
params {
|
||||||
|
|
|
@ -7,4 +7,7 @@ process {
|
||||||
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
||||||
}
|
}
|
||||||
|
withName:'QUALIMAP_BAMQC' {
|
||||||
|
ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" }
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue