process { withName:'BBMAP_BBDUK' { memory = { check_max( 80.GB * task.attempt, 'memory' ) } } withName: 'MALT_RUN' { memory = { check_max( 80.GB * task.attempt, 'memory' ) } } }