1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-13 05:03:10 +00:00

Merge pull request #378 from raysloks/feat/hasta_java_memory_fix

Feat/hasta java memory fix
This commit is contained in:
Emil Bertilsson 2022-05-30 14:40:52 +02:00 committed by GitHub
commit 80e2a50a2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,7 @@ params {
singularity {
enabled = true
envWhitelist = ['_JAVA_OPTIONS']
}
params {

View file

@ -7,4 +7,7 @@ process {
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
}
withName:'QUALIMAP_BAMQC' {
ext.args = { "--java-mem-size=${task.memory.giga / 1.15 as long}G" }
}
}