Skip to content

memlimit is ignored. #101

Open
Open

Description

@themusicalduck

I've noticed while using bmdcapture to pipe capture card input into a video player, if I pause the video player, bmdcapture will fill memory up until the point my system crashes.

The flag -M for memlimit seems to be ignored as well as the 1GB default.

Video demonstrating the problem: http://ks361234.kimsufi.com/bmdcapture.mkv

You can see mpv fill its cache before bmdcapture starts to fill up memory indefinitely well beyond the 1GB limit.

I didn't record it, but after unpausing the video the memory clears itself immediately and bmdcapture stops running after pushing out a few more seconds of video.

I'm using the latest version compiled from this git on Ubuntu 18.04 64 bit with a Blackmagic Design Intensity Pro 4K card.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. lu-zero commented on Jul 11, 2018

    @lu-zero
    Owner

    I'm not sure how the memory in a pipe is accounted for by top

    The limit is on the internal frame queue.

  2. themusicalduck commented on Jul 17, 2018

    @themusicalduck
    Author

    Ok, thanks for your reply.

    I've been able to limit memory use in another way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions