{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5170","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5170/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5170/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5170/events","html_url":"https://github.com/elastic/kibana/issues/5170","id":112823011,"number":5170,"title":"Memory leak in Kibana 4.2.beta2 server","user":{"login":"mrdavidlaing","id":227505,"avatar_url":"https://avatars.githubusercontent.com/u/227505?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdavidlaing","html_url":"https://github.com/mrdavidlaing","followers_url":"https://api.github.com/users/mrdavidlaing/followers","following_url":"https://api.github.com/users/mrdavidlaing/following{/other_user}","gists_url":"https://api.github.com/users/mrdavidlaing/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdavidlaing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdavidlaing/subscriptions","organizations_url":"https://api.github.com/users/mrdavidlaing/orgs","repos_url":"https://api.github.com/users/mrdavidlaing/repos","events_url":"https://api.github.com/users/mrdavidlaing/events{/privacy}","received_events_url":"https://api.github.com/users/mrdavidlaing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T15:02:35Z","updated_at":"2015-10-26T14:44:02Z","closed_at":null,"body":"I'm running Kibana 4.2.beta2 as a Cloud Foundry app with 384MB of memory assigned to each app instance container.\r\n\r\nI'm querying against a fairly small elasticsearch cluster, at a rate of about 20 requests / minute - basically very little load.\r\n\r\nThere appears be be some form of memory leak that causes the server side nodejs portion of Kibana to gradually consume more and more memory until it exhausts the 384M of memory allocated to it in the container.\r\n\r\nCouple of follow on questions:\r\n\r\n0.  What is the correct amount of RAM to allocate to Kibana4 server?\r\n0.  Is this a known issue?  Are other people running into something similar?\r\n0.  What information / test case if most helpful for me to provide to help debug further?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/151160668","html_url":"https://github.com/elastic/kibana/issues/5170#issuecomment-151160668","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5170","id":151160668,"user":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T14:44:02Z","updated_at":"2015-10-26T14:44:02Z","body":"What exactly occurs? Does the oom_killer slay the process? While its possible there could be a memory leak, the server doesn't do all that much. It possible this is just cache."}}