Thomas-Wolf Verdonckt
03/04/2026, 12:59 PMGisela Gabernet
03/04/2026, 2:41 PMGisela Gabernet
03/04/2026, 2:42 PMThomas-Wolf Verdonckt
03/04/2026, 2:55 PMGisela Gabernet
03/04/2026, 3:13 PMGisela Gabernet
03/04/2026, 3:16 PMHuimin Lyu
03/04/2026, 8:10 PMThomas-Wolf Verdonckt
05/05/2026, 1:50 PMHuimin Lyu
05/05/2026, 2:14 PMThomas-Wolf Verdonckt
05/06/2026, 7:54 AMHuimin Lyu
05/06/2026, 2:07 PM-c resource.config to your command. Please check this webpage to see how to customize configuration: https://nf-co.re/airrflow/5.0.0/docs/usage/FAQ. However, if you want us to make this step to use less memory in general, it's more complicated and we need to think about a way to achieve it. Welcome any suggestion from you.Thomas-Wolf Verdonckt
05/06/2026, 2:53 PMprocess {
withName: '.*COLLAPSE_DUPLICATES.*' {
cpus = 1
memory = 170.GB
}
}
But that did not prevent the pipeline from reaching >512 Gb during the collapse step.
Some things off the top of my head: are only required columns loaded during the collapse step? or is the entire dataset loaded into memory?
Am I right that during processing of one collapse group ID, the full parent table is typically still in memory (plus grouped/intermediate structures), not just that one group? If so, this could be changed.Huimin Lyu
05/06/2026, 3:38 PMresourceLimits = [cpus: 16, memory: 144.GB, time: 24.h] accordingly as this set the cap for resources for all steps.Huimin Lyu
05/06/2026, 3:41 PMThomas-Wolf Verdonckt
05/07/2026, 7:25 AMprocess {
cpus = 9
time = '31d'
withLabel: process_low { cpus = 9; time = '31d' }
withLabel: process_medium { cpus = 9; time = '31d' }
withLabel: process_high { cpus = 9; time = '31d' }
withLabel: process_long_parallelized { cpus = 9; time = '31d' }
withName: '.*' {
cpus = 9
time = '31d'
}
resourceLimits = [
cpus: 9,
time: '31d'
]
}
To try and override all existing limits, as the pipeline almost always takes more than a full day to run, in some cases more than a week (!).
I only have access to 512 Gb nodes. So the 512 Gb is a hard limit.
I set 1 cpu for the collapse step because any parallelization seems to increase memory usage, causing the pipeline to fail earlier.
Setting soft limits is not the issue. I have been trying to overcome these limitations for over a year by now.
I think the solution will have to come from software optimization.Gisela Gabernet
05/07/2026, 12:44 PMThomas-Wolf Verdonckt
05/07/2026, 1:15 PMprocess {
withName: '.*COLLAPSE_DUPLICATES.*' {
cpus = 1
memory = 170.GB
}
}
But that does not seem to have effect (possibly because I am not running through SLURM for this sample). I know that the config is loaded because the process is limited to 1 cpu as requested.
Furthermore, unless I am mistaken, setting a memory limit wouldn't really help given that there is no parallel processing. The physical limit is reached by a single task. It would probably just fail 'cleanly'.Gisela Gabernet
05/07/2026, 2:29 PMGisela Gabernet
05/07/2026, 2:30 PMThomas-Wolf Verdonckt
05/07/2026, 2:41 PMThomas-Wolf Verdonckt
05/26/2026, 7:15 AMGisela Gabernet
06/17/2026, 5:42 PMGisela Gabernet
06/17/2026, 5:54 PMThomas-Wolf Verdonckt
07/02/2026, 8:34 AMHuimin Lyu
07/06/2026, 2:14 PMThomas-Wolf Verdonckt
07/06/2026, 3:02 PMHuimin Lyu
07/06/2026, 3:07 PM