Skip to content

Possible memory leak when playing video in DRM #555

@gustavqmatic

Description

@gustavqmatic

We use Cog on Intel hardware and DRM as platform.

We see that the memory slowly but steady goes up over time with 1-2mb per minute. We play a list of short full screen video files in a loop.

The trouble shooting we have done so far

We enabled WEBKIT_SAMPLE_MEMORY and sampled over a few hours. We could see that “Resident Set Bytes” and “Total Committed Memory” goes up and “Available Bytes” down but no specific details of what is causing it.

We used the Inspector and Time Interval tool to record memory usage. There we could see that “Page” goes up. What is included in this? Is it possible to get more details on this?

We tried to use different plugins for gstreamer for video playback but found no difference. (Both the new an dold VA-API and software renderer)

The versions we use are:
Cog 0.16.1
WPE WebKit 2.38.5
Built with Yocto Kirkstone

Are there other tools/features we can enable to understand what is eating the memory? Any known issues/patches we could try?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions