Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

logstash get error Native memory allocation (mmap) failed #129

Open
amirmehdi opened this issue Sep 26, 2020 · 0 comments
Open

logstash get error Native memory allocation (mmap) failed #129

amirmehdi opened this issue Sep 26, 2020 · 0 comments

Comments

@amirmehdi
Copy link

hello,
with this config, I got this error.

  jhipster-elasticsearch:
    image: jhipster/jhipster-elasticsearch:v4.1.0
    environment:
      - ES_JAVA_OPTS=-Xms128m -Xmx128m
      - http.host=0.0.0.0
      - transport.host=127.0.0.1
    volumes:
      - log-data:/usr/share/elasticsearch/data
  jhipster-logstash:
    image: jhipster/jhipster-logstash:v4.1.0
    environment:
      - ES_JAVA_OPTS=-Xms128m -Xmx128m
      - INPUT_TCP_PORT=5000
      - INPUT_UDP_PORT=5000
      - ELASTICSEARCH_HOST=jhipster-elasticsearch
      - ELASTICSEARCH_PORT=9200
      - LOGSTASH_DEBUG=false
    ports:
      - 5000:5000
      - 5000:5000/udp
    volumes:
      - /etc/log-conf/:/usr/share/logstash/pipeline/
    depends_on:
      - jhipster-elasticsearch

ERROR:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 986513408 bytes for committing reserved memory.

what should I do?
thankyou

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant