Microsoft Edge: iframe Memory Leak Issue

External Issue #1653044

Details

Created
Feb 11, 2015
Privacy
This issue is public.
Reports
Reported by 10 people

Sign in to watch or report this issue.

Steps to reproduce

The updated attached iframeleak.zip has an improved repro. It allows a single iFrame to be tested, it loops N times and will run the scenario once in isolation to allow memory tracing to be started.

It is also hosted here… http://iescratch-web/users/toddreif/iframeleak/leaktest.html

It leaks a tiny bit of http://cnn.com but does not seem to leak with http://bing.com.

URL:

Repro Steps:

==============

1.) Load the attached leaktest.html from a web server

3.) When the page loads note the current memory usage and click the test button.

4.) Wait for the two nested iframes to load their content completely after clicking the test button.

5.) After the iframes have loaded note the memory usage and click test again.

6.) Repeat steps 3 - 5 noting the memory usage. If you repeat the steps long enough the browser will crash or become unresponsive.

 

Notes:

Oberve that the specific URLs chosen in the test will significantly impact the size of the leak. The core of the bug seems to improving the cleanup of iFrame documents.

 

Expected:

No leak

 

Actual:

Microsoft Edge on Win10–Leaks ~10 MB for each test button click

 

Chrome:

Leaks but it seems to leak less

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Rico M.”

      Changed Assigned To from “Rico M.” to “Todd R.”

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Title from “Internet Explorer 9 and 10 iframe Memory Leak Issue” to “Internet Explorer iframe Memory Leak Issue”

      Changed Assigned To from “Todd R.” to “Rico M.”

      Changed Status from “Confirmed”

      Changed Assigned To from “Rico M.” to “Cameron M.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Cameron M.” to “Todd R.”

      Changed Assigned To from “Todd R.” to “Cameron M.”

      Changed Assigned To from “Cameron M.” to “IE F.”

      Changed Status from “Confirmed” to “External”

      Changed Steps to Reproduce

      Changed Title from “Internet Explorer iframe Memory Leak Issue” to “Microsoft Edge: iframe Memory Leak Issue”

      Changed Assigned To from “IE F.” to “Riff J.”

      Changed Status from “External”

      Changed Status to “Confirmed”

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Steps to Reproduce

      Changed Assigned To from “Riff J.” to “Todd R.”

      Changed Status from “Confirmed” to “External”

    • }This issue has been resolved External. This means this issue may require a new feature to be implemented or other work that is more significant than a typical bug. You may be able to find more information on this issue by searching for related features on status.microsoftedge.com and uservoice.microsoftedge.com.

    You need to sign in to your Microsoft account to add a comment.

    Sign in