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

Limit the allocated size of the sample indice table by the file size. #396

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zaggy1024
Copy link
Contributor

This is a proof of concept for my solution to slow OOMs in create_sample_table() laid out in #395.

@Zaggy1024 Zaggy1024 marked this pull request as draft February 10, 2023 01:48
@Zaggy1024 Zaggy1024 force-pushed the limit-sample-table-size branch from 20c6571 to f1742b7 Compare February 10, 2023 01:49
@Zaggy1024 Zaggy1024 force-pushed the limit-sample-table-size branch from f1742b7 to f69e178 Compare February 10, 2023 01:53
@Zaggy1024
Copy link
Contributor Author

If this issue is able to occur on the MP4 side, this currently doesn't affect that, since the MP4 code in Gecko seems more complicated to do this with. If I can figure out how to get the size of the downloaded data there, I can probably modify it to request indices as the available data increases.

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

Successfully merging this pull request may close these issues.

1 participant