Closed geekyogurt closed 4 years ago
@geekyogurt You need to increase your memory. The docs give several options for doing so, depending on your environment. If you're running Kibana on a Mac, adding NODE_OPTIONS="--max-old-space-size=4000"
to your yarn start
command should work.
Pinging @elastic/kibana-platform (Team:Platform)
@TinaHeiligers I tried NODE_OPTIONS='--max-old-space-size=4000"
to the yarn start
command. This doesn't seem to work. Also I face this problem in 7.5.2 and not in 7.1.1.
When I run yarn start NODE_OPTIONS='--max-old-space-size=4000
, it stalls at the following warning:
[warning][licensing][plugins] License information could not be obtained from Elasticsearch for the [data] cluster. [security_exception] missing authentication credentials for REST request [/_xpack], with { header={ WWW-Authenticate="Basic realm=\"security\" charset=\"UTF-8\"" } } :: {"path":"/_xpack","statusCode":401,"response":"{\"error\":{\"root_cause\":[{\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}}],\"type\":\"security_exception\",\"reason\":\"missing authentication credentials for REST request [/_xpack]\",\"header\":{\"WWW-Authenticate\":\"Basic realm=\\\"security\\\" charset=\\\"UTF-8\\\"\"}},\"status\":401}","wwwAuthenticateDirective":"Basic realm=\"security\" charset=\"UTF-8\""}
@geekyogurt your issue is more of a user question, and we'd like to direct these kinds of things to the Kibana forum. If you can stop by there, we'd appreciate it. This allows us to use GitHub for verified bug reports, feature requests, and pull requests.
There's an active community in the forum that should be able to help get an answer to your question. As such, I hope you don't mind that I close this.
I still cant believe that elasticsearch UI (Kibana) uses more memory than elasticsearch :p
Kibana version: 7.5.2
Elasticsearch version: 7.5.2
Original install method (e.g. download page, yum, from source, etc.): from source. Running using yarn start
Describe the bug: Created a new sample plugin. running yarn start throws running out of memory error. This error is not encountered in kibana version 7.1.1.
Steps to reproduce:
node scripts/generate_plugin sample_plugin
to create a sample plugin.cd plugins/sample_plugin && yarn start
Provide logs and/or server output (if relevant):