Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.
This repository was archived by the owner on Aug 11, 2024. It is now read-only.

Memory leak after clip playout #4

@premultiply

Description

@premultiply

I created as playout software which operates on two melted-channels through a Decklink Duo.

Each channel is run by a fixed sequence of MVCP-commands 24/7 in A/B manner.

STOP Ux
CLEAR Ux
LOAD Ux "FILENAME"
PAUSE Ux (show first frame)

PLAY Ux (The PLAY command is exactly timed)

Everything is fine with that but I observed a memory leak over the time with recent melted versions.
I did try self-builds and a pre-build version downloaded from http://builds.meltytech.com/ at february 17th 2020. (by the way: this buildserver seems to be broken now).

What I see is that the memory allocated when the PAUSE command is sent is not freed again completly after STOP or CLEAR is sent. So the memory usage of the melted process will grow very huge over time until memory and swap is exceeded and it crashes or the process is restarted.

grafik

I do have an old self-build version from April 16th 2016 which does not have this behaviour and which runs for years but due to the outdated ffmpeg and MLT libs it has some issues with new codecs and file formats.

Maybe this is more an issue on MLT or at the interface between MLT and melted.
Who can give me a hint what could be wrong or what needs to be fixed with the recent melted builds?

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