Skip to content

Memory leak #44

@m0rt3nlund

Description

@m0rt3nlund

Hi!

I am running a YOLO model on my Windows machine and I am having a very big memory leak that I have sourced down to the ortex library.

I am currently sending it an NX tensor (Torchx.Backend) as an input and I have removed all other code around it to make sure it is the actual running of the model that is the problem.

Below is a screenshot of my virtual memory growing steadly when the model is ran once each second.

Image

Since I am running on Windows I cannot use valgrind or similar tools, and drMemory is also not working properly.

Is this a known problem with ortex or ort?

I assumed the resource handler in erlang was supposed to dealloc the resources that are shared between erlang and rustler?

Thanks!

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