Skip to content

Fix: Rundown memory leak #1477

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

Draft
wants to merge 6 commits into
base: release53
Choose a base branch
from

Conversation

olzzon
Copy link
Contributor

@olzzon olzzon commented Jun 23, 2025

About the Contributor

This PR is made on behalf of BBC

Type of Contribution

This is a fix

Current Behavior

Currently in Release 52 and 53 a lot of segments (and other nodes) are detached, so no longer in DOM but still in memory.

New Behavior

A service is running in the RundownView that clean up lost elements/nodes.
This I a hack that solves the memory leak, but doesn't solve the root cause.

Testing

  • I have added one or more unit tests for this PR
  • I have updated the relevant unit tests
  • No unit test changes are needed for this PR

Affected areas

This is affecting the UI's memory usage.

Time Frame

This bug fix is critical for BBC.

Status

  • PR is ready to be reviewed.
  • The functionality has been tested by the author.
  • Relevant unit tests has been added / updated.
  • Relevant documentation (code comments, system documentation) has been added / updated.

@olzzon olzzon requested a review from a team as a code owner June 23, 2025 06:31
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@olzzon olzzon marked this pull request as draft June 23, 2025 07:19
@Julusian Julusian added Contribution External contribution Contribution from BBC Contributions sponsored by BBC (bbc.co.uk) labels Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contribution from BBC Contributions sponsored by BBC (bbc.co.uk) Contribution External contribution
Development

Successfully merging this pull request may close these issues.

3 participants