Embedding a Confluence page using @atlaskit/embedded-confluence with high-frequency host re-renders causes memory growth in the embedded iframe

XMLWordPrintable

    • Severity 2 - Major

      Issue Summary

      Re-rendering an <ViewPage> component from @atlaskit/embedded-confluence at a high frequency can cause memory usage in the embedded iframe to grow over time.

      Steps to Reproduce

      Step 1: Embed a Confluence page via @atlaskit/embedded-confluence.
      Step 2: Cause the component to re-render continuously.
      Step 3: Leave the page open and observe memory usage growing over time.

      Expected Results

      Memory usage remains stable.

      Actual Results

      Memory usage grows continuously while the component re-renders.

      Workaround

      Avoid unnecessary re-renders of the embedded component. Check that props passed to <ViewPage> (especially object/array props such as style, navigationPolicy, allowedFeatures) are stable across renders.

              Assignee:
              Unassigned
              Reporter:
              Howard Ng
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: