Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memlimit is ignored. #101

Open
themusicalduck opened this issue Jul 11, 2018 · 2 comments
Open

memlimit is ignored. #101

themusicalduck opened this issue Jul 11, 2018 · 2 comments

Comments

@themusicalduck
Copy link

themusicalduck commented Jul 11, 2018

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.

@lu-zero
Copy link
Owner

lu-zero commented Jul 11, 2018

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

The limit is on the internal frame queue.

@themusicalduck
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants