Skip to content

wm_cluster_from_atlas.py crashes on a 128 GB RAM, Python 3.12 environment #240

@tashrifbillah

Description

@tashrifbillah

wm_cluster_from_atlas.py crashes at this line saying Killed:

similarities = np.exp(-distance / (sigmasq))

We pip installed this on a 128 GB RAM, Python 3.12, Redhat 9 environment. We realized that it does not crash on a 512 GB RAM, Python 3.12, Redhat 9 environment. Feel free to share your thoughts.


Edit: we collected a few statistics when the above crash happens:

-> similarities = np.exp(-distance / (sigmasq))
(Pdb) distance.max()
24388.2132106186
(Pdb) distance.min()
0.0
(Pdb) distance.shape
(2500, 1860721)
(Pdb) np.exp(-distance / (sigmasq))
Killed

The RAM usage simply jumps to 128 GB when it crashes on a 128 GB machine. Same issue on a 256 GB RAM machine.

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