This repository was archived by the owner on Sep 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 491
Memory Leak in IE11 #542
Comments
Do you happen to have a repro case that demonstrates this memory leak? |
From @ankurp on May 31, 2016 13:43 <!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<base href="https://polygit.org/polymer+:master/components/">
<script src="webcomponentsjs/webcomponents-lite.js"></script>
<link href="polymer/polymer.html" rel="import">
<script>
// After every second, the memory will increase by ~3 MByte. GC is kicking in sometimes but it will not collect everything.
setTimeout(function() {
location.reload();
}, 1000);
</script>
</head>
<body spellcheck="false">
<!-- Define a custom element -->
<dom-module id="simple-element">
<template>
<div>Custom Element</div>
</template>
<script>
Polymer({ is: 'simple-element' });
</script>
</dom-module>
<!-- An empty element will also leak! -->
<dom-module id="even-simpler-element"></dom-module>
</body>
</html> |
From @ankurp on May 31, 2016 14:6 @tjsavage Here is also a repo which you can clone and serve with a static server to see the issue in IE11. The page refreshes every second and you can see the memory increase continuously https://github.com/ankurp/polymer-webcomponent-IE-memory-leak |
Got it, thank you. I'm going to move this to the main webcomponents/webcomponentsjs repo to make sure it gets attention. (Will close issues here as well) |
We should close this one in favor of this Issue as it has more detail and history #541 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From @ankurp on May 26, 2016 14:31
Noticing a lot of memory leak in IE11 and it most likely is due to the order in which node elements are appended to the DOM. Can someone look into this.
Copied from original issue: webcomponents/webcomponents-lite#7
The text was updated successfully, but these errors were encountered: