breezy-portugal-43538
04/08/2022, 8:56 AMdazzling-judge-80093
04/08/2022, 9:08 AMelasticsearch | {"type": "server", "timestamp": "2022-04-08T08:18:10,060Z", "level": "ERROR", "component": "o.e.b.ElasticsearchUncaughtExceptionHandler", "cluster.name": "docker-cluster", "node.
name": "elasticsearch", "message": "fatal error in thread [Thread-8], exiting", "cluster.uuid": "UX0eKJnwTJ-O2lUjTy91kw", "node.id": "7EpuXZTQR6GwQzXeRKC9IQ" ,
elasticsearch | "stacktrace": ["java.lang.OutOfMemoryError: Cannot reserve 1048576 bytes of direct buffer memory (allocated: 133410575, limit: 134217728)",
Please, can you give a bit more memory to you docker environment?dazzling-judge-80093
04/08/2022, 9:09 AMbreezy-portugal-43538
04/08/2022, 9:35 AMdazzling-judge-80093
04/08/2022, 3:56 PMearly-lamp-41924
04/08/2022, 4:02 PMbig-carpet-38439
04/08/2022, 4:04 PMbig-carpet-38439
04/08/2022, 4:05 PMbreezy-portugal-43538
04/11/2022, 7:17 AMES_JAVA_OPTS=-Xms8g -Xmx8g -Dlog4j2.formatMsgNoLookups=true
and
mem_limit: 10g
So now my Elasticsearch has around 10GB, but it still allocates a lot of memory (see screenshot for reference) around 96%
I had also uploaded the screen from datahub with uploaded data for reference and screen from elasticsearch container.
I left the datahub running over for weekend and it did not crash from out of memory, but this huge memory consumption still bugs me a little.
Would there be possibility to change datahub yml files to increase memory limit for elasticsearch? Additionally, is there any way to flush the memory used by elasticsearch?