{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6247","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6247/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6247/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6247/events","html_url":"https://github.com/meteor/meteor/issues/6247","id":133962355,"number":6247,"title":"[1.3] possible EventEmitter memory leak","user":{"login":"tjmonsi","id":2645718,"avatar_url":"https://avatars.githubusercontent.com/u/2645718?v=3","gravatar_id":"","url":"https://api.github.com/users/tjmonsi","html_url":"https://github.com/tjmonsi","followers_url":"https://api.github.com/users/tjmonsi/followers","following_url":"https://api.github.com/users/tjmonsi/following{/other_user}","gists_url":"https://api.github.com/users/tjmonsi/gists{/gist_id}","starred_url":"https://api.github.com/users/tjmonsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjmonsi/subscriptions","organizations_url":"https://api.github.com/users/tjmonsi/orgs","repos_url":"https://api.github.com/users/tjmonsi/repos","events_url":"https://api.github.com/users/tjmonsi/events{/privacy}","received_events_url":"https://api.github.com/users/tjmonsi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/bug","name":"bug","color":"b60205"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Impact:some","name":"Impact:some","color":"fef2c0"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Isobuild","name":"Project:Isobuild","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/9","html_url":"https://github.com/meteor/meteor/milestones/Post-1.3","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/9/labels","id":1527564,"number":9,"title":"Post-1.3","description":null,"creator":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":6,"state":"open","created_at":"2016-01-20T21:21:02Z","updated_at":"2016-05-16T22:59:49Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2016-02-16T11:57:16Z","updated_at":"2016-05-16T23:20:17Z","closed_at":null,"body":"***9 Upvotes*** I am getting this weird warnings, which increases my memory and CPU consumption...\r\n\r\n```\r\n(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.\r\nTrace\r\n    at StatWatcher.addListener (events.js:160:15)\r\n    at Object.fs.watchFile (fs.js:1175:8)\r\n    at Object.files.watchFile (/tools/fs/files.js:1486:10)\r\n    at Object.watch (/tools/fs/safe-pathwatcher.js:85:9)\r\n    at Watcher._watchFileOrDirectory (/tools/fs/watch.js:469:35)\r\n    at /tools/fs/watch.js:547:18\r\n    at Array.forEach (native)\r\n    at Function._.each._.forEach (/home/ubuntu/.meteor/packages/meteor-tool/.1.1.13-modules.8.8bjtd++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)\r\n    at onWatchEvent (/tools/fs/watch.js:536:11)\r\n    at thenCallback (/tools/utils/func-utils.js:37:18)\r\n    at /home/ubuntu/.meteor/packages/less/.2.5.2-modules.8.126pjac++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/promise/node_modules/meteor-promise/fiber_pool.js:33:40\r\n```\r\n\r\nIt usually happens when I am doing something in my code, it does a Meteor server restart and sometimes a hot code reload (if i am working on client code). \r\n\r\nI couldn't replicate it 100% all the time (like what do I need to do if I am going to do this), but usually it is happening when I am coding and saving several files (I usually open a lot of tabs in sublime/cloud9) while the restart and rebuilding is still happening."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/219577028","html_url":"https://github.com/meteor/meteor/issues/6247#issuecomment-219577028","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6247","id":219577028,"user":{"login":"valentinvichnal","id":8232674,"avatar_url":"https://avatars.githubusercontent.com/u/8232674?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinvichnal","html_url":"https://github.com/valentinvichnal","followers_url":"https://api.github.com/users/valentinvichnal/followers","following_url":"https://api.github.com/users/valentinvichnal/following{/other_user}","gists_url":"https://api.github.com/users/valentinvichnal/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinvichnal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinvichnal/subscriptions","organizations_url":"https://api.github.com/users/valentinvichnal/orgs","repos_url":"https://api.github.com/users/valentinvichnal/repos","events_url":"https://api.github.com/users/valentinvichnal/events{/privacy}","received_events_url":"https://api.github.com/users/valentinvichnal/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T23:20:17Z","updated_at":"2016-05-16T23:20:17Z","body":"+1"}}