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

Streamer eats memory and crashes. #12

Open
OstlerDev opened this issue Oct 31, 2015 · 5 comments
Open

Streamer eats memory and crashes. #12

OstlerDev opened this issue Oct 31, 2015 · 5 comments

Comments

@OstlerDev
Copy link
Contributor

The current way of checking if the file is valid using VLC eats up too much memory.

@thepearldream
Copy link

What code is this related to?

@xaiki
Copy link
Member

xaiki commented Sep 16, 2016

@thepearldream
Copy link

@xaiki I am still troubleshooting but so far I see big spikes in memory as the player goes through the video. The spikes coincide with high detailed scenes of the video. There is also no problem with audio files. I am working on isolating if the issue is part of ButterTorrentStreamer.mm code or whether it is with MobileVLCKit.

@xaiki
Copy link
Member

xaiki commented Sep 19, 2016

@thepearldream thanks for looking into it, this code is widly unmaintained, so any update is welcomed !

@thepearldream
Copy link

thepearldream commented Oct 1, 2016

required_pieces vector uses up a lot of memory so the alert loop should only run during buffering/loading and then it should be stopped. I plan to submit an update once I clean up my code. See the gist below if someone is blocked by this issue before I submit my update:
https://gist.github.com/thepearldream/47c359a25466055a164729db59084609

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

No branches or pull requests

3 participants