{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/19375","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/19375/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/19375/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/19375/events","html_url":"https://github.com/facebook/react-native/issues/19375","id":325061229,"number":19375,"title":"possible memory leak","user":{"login":"jcharbo","id":6372919,"avatar_url":"https://avatars0.githubusercontent.com/u/6372919?v=4","gravatar_id":"","url":"https://api.github.com/users/jcharbo","html_url":"https://github.com/jcharbo","followers_url":"https://api.github.com/users/jcharbo/followers","following_url":"https://api.github.com/users/jcharbo/following{/other_user}","gists_url":"https://api.github.com/users/jcharbo/gists{/gist_id}","starred_url":"https://api.github.com/users/jcharbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcharbo/subscriptions","organizations_url":"https://api.github.com/users/jcharbo/orgs","repos_url":"https://api.github.com/users/jcharbo/repos","events_url":"https://api.github.com/users/jcharbo/events{/privacy}","received_events_url":"https://api.github.com/users/jcharbo/received_events","type":"User","site_admin":false},"labels":[{"id":836679689,"url":"https://api.github.com/repos/facebook/react-native/labels/:clipboard:No%20Template","name":":clipboard:No Template","color":"d4c5f9","default":false},{"id":257498156,"url":"https://api.github.com/repos/facebook/react-native/labels/:large_blue_diamond:JavaScript","name":":large_blue_diamond:JavaScript","color":"bfd4f2","default":false},{"id":650767894,"url":"https://api.github.com/repos/facebook/react-native/labels/:warning:Regression","name":":warning:Regression","color":"e99695","default":false},{"id":542043367,"url":"https://api.github.com/repos/facebook/react-native/labels/:white_check_mark:Author%20Provided%20Repro","name":":white_check_mark:Author Provided Repro","color":"0e8a16","default":false},{"id":337217254,"url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-21T21:12:36Z","updated_at":"2018-05-28T00:00:04Z","closed_at":null,"author_association":"NONE","body":"I have noticed a significant increase in RAM usage as time is spent in my app and I think I've isolated it to React Native leaving memory in use after items are rendered and then no longer rendered.  \r\n\r\nI have created a sample project to demonstrate the issue.  The sample loads 5,000 text components and then removes them from render yet much of the RAM is not released after removal.  \r\n\r\nAlthough 5,000 text nodes at once is not realistic, the continual loading and removal of up to 5,000 text nodes throughout usage of the app is realistic.  \r\n\r\n## Steps to Reproduce\r\nClone the following repository and follow the readme instructions.\r\nhttps://github.com/thejump/react-native-leak-test\r\n\r\n## Expected Behavior\r\nRAM will be released when text items are no longer rendered.\r\n\r\n## Actual Behavior\r\nRAM continues to increase as text items are rendered and then no longer rendered."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/392389311","html_url":"https://github.com/facebook/react-native/issues/19375#issuecomment-392389311","issue_url":"https://api.github.com/repos/facebook/react-native/issues/19375","id":392389311,"user":{"login":"react-native-bot","id":32686087,"avatar_url":"https://avatars0.githubusercontent.com/u/32686087?v=4","gravatar_id":"","url":"https://api.github.com/users/react-native-bot","html_url":"https://github.com/react-native-bot","followers_url":"https://api.github.com/users/react-native-bot/followers","following_url":"https://api.github.com/users/react-native-bot/following{/other_user}","gists_url":"https://api.github.com/users/react-native-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/react-native-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-native-bot/subscriptions","organizations_url":"https://api.github.com/users/react-native-bot/orgs","repos_url":"https://api.github.com/users/react-native-bot/repos","events_url":"https://api.github.com/users/react-native-bot/events{/privacy}","received_events_url":"https://api.github.com/users/react-native-bot/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T00:00:04Z","updated_at":"2018-05-28T00:00:04Z","author_association":"COLLABORATOR","body":"If you are still encountering the issue described here, please open a new issue and make sure to fill out the [Issue Template](https://raw.githubusercontent.com/facebook/react-native/master/.github/ISSUE_TEMPLATE.md) when doing so."}}
{"actor":{"display_login":"react-native-bot"}}