Skip to content

Total memory limitations for PCA #3804

Open
@b-grimaud

Description

@b-grimaud

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    concurrencyRelated to parallel processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions