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

Fixes hasta java memory issues

This commit is contained in:
Emil 2022-05-04 14:13:24 +02:00
parent a543a3ebc6
commit 8b9744723c

View file

@ -21,6 +21,14 @@ params {
process {
executor = 'slurm'
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
withName: QUALIMAP_BAMQC {
memory = 64.GB
ext.args = "--java-mem-size=60G"
}
withName: 'PICARD_COLLECTHSMETRICS|PICARD_COLLECTMULTIPLEMETRICS|COLLECTREADCOUNTS|DENOISEREADCOUNTS' {
clusterOptions = { task.memory ? "-l h_vmem=${task.memory.bytes/task.cpus}+2" : null }
}
}
profiles {