Skip to content
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

Memory Leak when using Data Bindings #1116

Closed
ghost opened this issue Jan 21, 2015 · 1 comment
Closed

Memory Leak when using Data Bindings #1116

ghost opened this issue Jan 21, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 21, 2015

JSBin: http://jsbin.com/coxurivaya/3/edit?html,js
JSFiddle: http://jsfiddle.net/twzm53ep/

The code is creating a new object every millisecond and sets it to a polymer elements property. The property is bound in a template. The objects will never get collected by the GC.

I'm using
Polymer 0.5.2
Windows 8.1 x64
Chrome 39.0.2171.99

Steps to reproduce:

  1. Open sample site
  2. Take Heap Snapshot (Chrome Dev Tools -> Profiles)
  3. Wait 30 sec and take another snapshot
  4. Compare two snapshots with the comparison function ("Objects allocated btw. snapshot 1 and 2")
@ghost
Copy link
Author

ghost commented May 13, 2015

not reproduceable in Polymer 0.8

@ghost ghost closed this as completed May 13, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants