-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing kibana plugin fails due to node running out of heap memory #25849
Comments
I've had similar problems while kibana was "Optimizing and caching bundles"
|
This is likely to be due to the optimize/compile process taking up more memory than the default Node.js heap that kibana specifies. You can specify the
If this is the cause, I'd propose that we close this issue, as we pursue the source of the large memory usage during plugin install in a number of different ways in other issues. |
Pinging @elastic/kibana-platform |
Pinging @elastic/kibana-operations |
I added |
feel free to close this issue, but note that a lot of the CI/CD services don't have very beafy VMs building these docker images in the cloud so this will continue to be an issue for people who don't know this fix |
I was able to get kibana to run using the following in my
docker-compose.yml file
environment:
- cluster.name=${CLUSTER_NAME}
- NODE_OPTIONS=--max-old-space-size=4096
…On Mon, Nov 26, 2018 at 6:06 AM Tiago Costa ***@***.***> wrote:
@blacktop <https://github.com/blacktop> have you been able to solve the
problem? We are working hardly to improve this, you can found more about a
thing that should land soon here: #20749
<#20749>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#25849 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AO8y7vpRhAtwXpO4qVmezMtCzeZvOE-Oks5uy8segaJpZM4YoOKg>
.
|
whoops sorry I wrote |
Closed w/o any related commits? |
Kibana version:
6.5
Elasticsearch version:
6.5
Server OS version:
NA
Browser version:
NA
Browser OS version:
docker cloud
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
Installing kibana plugins in docker cloud fails I guess I can tell nodeJS in the container to limit it's heap? This just started happening with 6.5 though??
Steps to reproduce:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Expected behavior:
should install
The text was updated successfully, but these errors were encountered: