Skip to content

Memory allocation problem when running 127 jobs on joplin #32

@sandrinebedard

Description

@sandrinebedard

When running 127 jobs in parallel on joplin for preprocessing, this error occurs in gradunwarp for some subjects:

MemoryError: Unable to allocate 208. KiB for an array with shape (208, 256) and data type float32

gradunwarp uses a lot of memory as discussed here

Solution:
I trided reducing the number of jobs running in parallel with sct_run_batch -> with the flag -jobs 120, everything went smoothly. I would conitnue this way for future preprocessing of the rest of the Uk biobank dataset. Not sure how to add this to the README; maybe put a warning or something like that because this solution is for this case specifically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions