process { errorStrategy = {task.exitStatus in [104,134,137,139,141,143,255] ? 'retry' : 'finish'} maxRetries = 5 withName:MapReads { memory = {check_resource(12.GB)} time = {check_resource(48.h * task.attempt)} } }