{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5451","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5451/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5451/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5451/events","html_url":"https://github.com/elastic/kibana/pull/5451","id":118032913,"number":5451,"title":"Default NodeJS max heap limit to 250MB.  Override by setting NODE_OPTIONS","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":[{"url":"https://api.github.com/repos/elastic/kibana/labels/needs%20updates","name":"needs updates","color":"cc317c"},{"url":"https://api.github.com/repos/elastic/kibana/labels/review","name":"review","color":"eb6420"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v4.2.2","name":"v4.2.2","color":"ffffff"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v4.3.1","name":"v4.3.1","color":"ffffff"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v4.4.0","name":"v4.4.0","color":"ffffff"}],"state":"closed","locked":false,"assignee":{"login":"spalger","id":1329312,"avatar_url":"https://avatars.githubusercontent.com/u/1329312?v=3","gravatar_id":"","url":"https://api.github.com/users/spalger","html_url":"https://github.com/spalger","followers_url":"https://api.github.com/users/spalger/followers","following_url":"https://api.github.com/users/spalger/following{/other_user}","gists_url":"https://api.github.com/users/spalger/gists{/gist_id}","starred_url":"https://api.github.com/users/spalger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spalger/subscriptions","organizations_url":"https://api.github.com/users/spalger/orgs","repos_url":"https://api.github.com/users/spalger/repos","events_url":"https://api.github.com/users/spalger/events{/privacy}","received_events_url":"https://api.github.com/users/spalger/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-11-20T12:36:07Z","updated_at":"2015-12-09T10:09:22Z","closed_at":"2015-12-08T19:27:52Z","pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/5451","html_url":"https://github.com/elastic/kibana/pull/5451","diff_url":"https://github.com/elastic/kibana/pull/5451.diff","patch_url":"https://github.com/elastic/kibana/pull/5451.patch"},"body":"Relates to #5170 - this limits NodeJS to using only 250MB of heap before the garbage collector kicks in - useful in low memory environments.\r\n\r\nTo override, set the `NODE_OPTIONS` environment variable, eg, to allow Kibana to use 512MB of heap, set\r\n\r\n```\r\nNODE_OPTIONS=\"--max-old-space-size=512\" bin/kibana\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/163172673","html_url":"https://github.com/elastic/kibana/pull/5451#issuecomment-163172673","issue_url":"https://api.github.com/repos/elastic/kibana/issues/5451","id":163172673,"user":{"login":"splitice","id":468579,"avatar_url":"https://avatars.githubusercontent.com/u/468579?v=3","gravatar_id":"","url":"https://api.github.com/users/splitice","html_url":"https://github.com/splitice","followers_url":"https://api.github.com/users/splitice/followers","following_url":"https://api.github.com/users/splitice/following{/other_user}","gists_url":"https://api.github.com/users/splitice/gists{/gist_id}","starred_url":"https://api.github.com/users/splitice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitice/subscriptions","organizations_url":"https://api.github.com/users/splitice/orgs","repos_url":"https://api.github.com/users/splitice/repos","events_url":"https://api.github.com/users/splitice/events{/privacy}","received_events_url":"https://api.github.com/users/splitice/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T10:09:22Z","updated_at":"2015-12-09T10:09:22Z","body":"If you have to optimize resources then node runs out of memory (```FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory```) if you limit memory to 250mb."}}