-
Notifications
You must be signed in to change notification settings - Fork 494
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 leaks #95
Comments
This may be related to how we use |
There is a bug in |
This PR should fix the first issue: Polymer/polymer#4124. I was trying to repro the second issue: Clicking between the "Men's Outerwear" tab and "Ladies Outwear", and it seems like if you click the trash can to force GC, things drop to normal. cc @ebidel |
yeah. In my test, I went to https://shop.polymer-project.org/list/mens_outerwear and then clicked on I think the key is to return to state from which the test started, and lastly press the trash can a few times. |
I recorded my profiling in incognito - https://monosnap.com/file/JDfs7ukxcQSO5cpjrNsRCgURfeKJam Also here link to timeline-viawer with my profiling. It's not in incognito mode because of strange issue in Chrome, it's not saving timeline data in incognito, but other than that this result shows that issue with memory leak is still present. Maybe it can be helpful. |
It might need an update. shop.polymer-project.org is running Polymer |
I was playing with perf investigations and found that going from
home
->list/mens_outerwear
->home
listeners and number nodes are increasing. (I can assume that this problem can be for other pages)Number of listeners increased form 89 to 130, nodes 1881 -> 2532.
Also I made a snapshot for current state and new one, repeating
list/mens_outerwear
->home
actions.It looks like there are a lot of detached nodes which have references to
window
.P.S. Maybe before fixing this one it make sense to use drool and it's wrapper for polymer - polymer-drool for testing possible leaks. It requires add
package.json
to project (probably replacing bower).The text was updated successfully, but these errors were encountered: