Skip to content

Investigate memory leak in HDF5Data #50

@paulmueller

Description

@paulmueller

When opening many instances of HDF5Data of the same file. A memory leak appears.

import time
import gc
from dcnum.read import HDF5Data

path = "2025-02-09_09.46_M003_Reference_30000.rtdc"

while True:
    time.sleep(0.1)
    with HDF5Data(path):
        pass
    gc.collect()

https://dcor.mpl.mpg.de/dataset/naiad-reference-data

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions