Open
Description
As request, moving this over from discussions.
This was discussed a bit more in #3722 : computing PCA metrics on analyzers with a lot of units and a lof of channels, using a high n_jobs
can sometime pre-allocate a very large array that does not fit in memory.
The current job_kwargs
that apply to memory limitation are, as far as I understand, only relevant when dealing with recordings.
The current fix in #3721 is to automatically throttle n_jobs
to stay within memory constraints. Something else that was mentionned would be to allocate a single array to be used by multiple workers, but I believe there were concerns about concurrent access.