{"action":"created","issue":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/3691","labels_url":"https://api.github.com/repos/nwjs/nw.js/issues/3691/labels{/name}","comments_url":"https://api.github.com/repos/nwjs/nw.js/issues/3691/comments","events_url":"https://api.github.com/repos/nwjs/nw.js/issues/3691/events","html_url":"https://github.com/nwjs/nw.js/issues/3691","id":96016673,"number":3691,"title":"Memory usage issue related to iframes","user":{"login":"joshterrill","id":5368757,"avatar_url":"https://avatars.githubusercontent.com/u/5368757?v=3","gravatar_id":"","url":"https://api.github.com/users/joshterrill","html_url":"https://github.com/joshterrill","followers_url":"https://api.github.com/users/joshterrill/followers","following_url":"https://api.github.com/users/joshterrill/following{/other_user}","gists_url":"https://api.github.com/users/joshterrill/gists{/gist_id}","starred_url":"https://api.github.com/users/joshterrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshterrill/subscriptions","organizations_url":"https://api.github.com/users/joshterrill/orgs","repos_url":"https://api.github.com/users/joshterrill/repos","events_url":"https://api.github.com/users/joshterrill/events{/privacy}","received_events_url":"https://api.github.com/users/joshterrill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-20T08:43:51Z","updated_at":"2016-01-06T21:24:38Z","closed_at":null,"body":"I develop an app that uses iframes very heavily. There's an outer frame and then an iframe where content is displayed, when users navigate, the src of the iframe is changed to the page they are navigating to and the outer frame remains the same. I've noticed that when I navigate from page to page and use the nwjs's Timeline in the devtools, the documents and memory just keep increasing without getting released, thus the memory use in task manager shows that it keeps increasing as well. From my understanding, when changing the src of an iframe, it should do garbage collection and load the new document.... it doesn't seem like that's happening. \r\n\r\nI've found an issue related to chromium that seems like it could be related, but I figure I would post it here to see if anyone has some input on it.\r\nhttps://code.google.com/p/chromium/issues/detail?id=359401\r\nhttps://code.google.com/p/chromium/issues/detail?id=64748\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24635849-memory-usage-issue-related-to-iframes?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F51989&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/nwjs/nw.js/issues/comments/169467174","html_url":"https://github.com/nwjs/nw.js/issues/3691#issuecomment-169467174","issue_url":"https://api.github.com/repos/nwjs/nw.js/issues/3691","id":169467174,"user":{"login":"hems","id":27327,"avatar_url":"https://avatars.githubusercontent.com/u/27327?v=3","gravatar_id":"","url":"https://api.github.com/users/hems","html_url":"https://github.com/hems","followers_url":"https://api.github.com/users/hems/followers","following_url":"https://api.github.com/users/hems/following{/other_user}","gists_url":"https://api.github.com/users/hems/gists{/gist_id}","starred_url":"https://api.github.com/users/hems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hems/subscriptions","organizations_url":"https://api.github.com/users/hems/orgs","repos_url":"https://api.github.com/users/hems/repos","events_url":"https://api.github.com/users/hems/events{/privacy}","received_events_url":"https://api.github.com/users/hems/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T21:24:38Z","updated_at":"2016-01-06T21:24:38Z","body":"@joshterrill window.reloadDev() ? what this is doing?\r\n\r\nreloading my index.html file doesn't seem to clean it !"}}