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

Feature/performance optimizations light #4590

Merged
merged 6 commits into from
Oct 10, 2024

Conversation

dsilhavy
Copy link
Collaborator

@dsilhavy dsilhavy commented Oct 9, 2024

This PR fixes three memory leaks:

  • References to the xhr object were not cleared after a stream switch, but only when a stream object rotated out of the DVR window.
  • When switching to a new period and reusing the same SourceBuffers the event listeners from the previous SourceBufferSink were not cleared. This lead to chunk data being persisted.
  • The BolaRule kept references to Representation objects of previous periods.

In general, the memory consumption for large multiperiod MPDs oscillates because of preloading upcoming periods. In the long term the memory consumption should be stable though except for the issue described in #4561

@dsilhavy dsilhavy merged commit 0f76359 into development Oct 10, 2024
4 checks passed
@dsilhavy dsilhavy deleted the feature/performanceOptimizationsLight branch October 10, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant