Memory leak on page reload

Confirmed Issue #8584010 • Assigned to Todd R.


Sean P.
Aug 22, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 6 people

Sign in to watch or report this issue.

Steps to reproduce

Environment: Edge 25.10568.0.0

Behaviour: While developing a medium-size AngularJS app we noticed the process memory usage continued to increase after each page refresh.

Expected: We expected the process memory not to increase substantially when the page is refreshed. We assumed that the memory used would be deallocated, and then (or subsequent to) the page refreshing.

Reproducing the problem: Considering the problem appears to be with the deallocation of resources on a page refresh, the following simple code sample will result in a linear increase in process memory.

  1. Save and open the following HTML
  2. Open the Dev Tools and start memory profiling

A steady linear increase will occur in the reported total memory. For the impatient, after profiling has started change the timeout from 1000 ms to 50.

<head><title>Linear process memory increase</title>
var t;
function reload() {
t = window.setTimeout(reload, 1000);
<body>Hello, world!</body>

Heap snapshots are cleared after each refresh, but if you’re quick you’ll see that they aren’t increasing in size. (In my tests, they are between 24 and 25 KB).


Comments and activity

  • It appears the Markdown code fence does not render the HTML properly in the Issue. The file is attached. If you are triaging this issue, please raise an issue about the issues platform.

  • Retrying the example HTML to reproduce the issue:

    Linear process memory increase
    Hello, world!
  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To to “Rico M.”

    Changed Assigned To from “Rico M.” to “Riff J.”

    Changed Status to “Confirmed”

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

  • Hi,
    Is there any update on this. I am using Edge 38.14393 with Angular2 application and still facing this issue. On each page refresh, after everything is loaded, the memory keeps on increasing and takes a lot of time to come back to original state. For example
    Initial load=> After everything is loaded -> 650 MB
    First Refresh=> After everything is loaded -> 700 MB
    Second Refresh=> After everything is loaded -> 770 MB

  • Any updates on this issue?

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

Sign in