Commit 092ebc7
committed
Free intermediate arrays in QC workflow to reduce peak memory
The QC stage held onto full 4D BOLD arrays (pre-denoising) and nibabel
image objects long after they were needed, causing OOM kills on
memory-constrained SLURM jobs (e.g. 16 GB).1 parent a5cc10e commit 092ebc7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
0 commit comments