Hi Mark
Apologies - here is the error in text:
[2020-03-05T22:46:06,470][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425904] overhead, spent [1.1s] collecting in the last [1.8s]
[2020-03-05T22:46:09,830][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425906] overhead, spent [1.6s] collecting in the last [2.3s]
[2020-03-05T22:46:10,861][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425907] overhead, spent [968ms] collecting in the last [1s]
[2020-03-05T22:46:11,971][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425908] overhead, spent [1s] collecting in the last [1.1s]
[2020-03-05T22:46:13,580][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425909] overhead, spent [1.5s] collecting in the last [1.6s]
[2020-03-05T22:46:14,799][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425910] overhead, spent [1.1s] collecting in the last [1.2s]
[2020-03-05T22:46:16,127][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425911] overhead, spent [1.3s] collecting in the last [1.3s]
[2020-03-05T22:46:17,737][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425912] overhead, spent [1.5s] collecting in the last [1.6s]
[2020-03-05T22:46:20,315][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425913] overhead, spent [2.5s] collecting in the last [2.5s]
[2020-03-05T22:46:21,487][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425914] overhead, spent [1.1s] collecting in the last [1.1s]
[2020-03-05T22:46:23,518][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425915] overhead, spent [2s] collecting in the last [2s]
[2020-03-05T22:46:42,239][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [CMCI1] fatal error in thread [elasticsearch[CMCI1][bulk][T#3]], exiting
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(Unknown Source) ~[?:1.8.0_181]
at java.lang.StringBuilder.<init>(Unknown Source) ~[?:1.8.0_181]
at com.fasterxml.jackson.core.util.TextBuffer.contentsAsString(TextBuffer.java:346) ~[jackson-core-2.8.10.jar:2.8.10]
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2470) ~[jackson-core-2.8.10.jar:2.8.10]
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:315) ~[jackson-core-2.8.10.jar:2.8.10]
at org.elasticsearch.common.xcontent.json.JsonXContentParser.text(JsonXContentParser.java:83) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.common.xcontent.support.AbstractXContentParser.textOrNull(AbstractXContentParser.java:237) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.TextFieldMapper.parseCreateField(TextFieldMapper.java:345) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.FieldMapper.parse(FieldMapper.java:297) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:485) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseValue(DocumentParser.java:607) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:407) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:384) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:482) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:500) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:394) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:384) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:482) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObject(DocumentParser.java:500) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseNonDynamicArray(DocumentParser.java:584) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseArray(DocumentParser.java:542) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.innerParseObject(DocumentParser.java:396) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrNested(DocumentParser.java:384) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.internalParseDocument(DocumentParser.java:93) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:67) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:261) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.shard.IndexShard.prepareIndex(IndexShard.java:714) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.shard.IndexShard.applyIndexOperation(IndexShard.java:692) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.index.shard.IndexShard.applyIndexOperationOnPrimary(IndexShard.java:673) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.action.bulk.TransportShardBulkAction.executeIndexRequestOnPrimary(TransportShardBulkAction.java:548) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.action.bulk.TransportShardBulkAction.executeUpdateRequestOnce(TransportShardBulkAction.java:359) ~[elasticsearch-6.2.2.jar:6.2.2]
at org.elasticsearch.action.bulk.TransportShardBulkAction.executeUpdateRequest(TransportShardBulkAction.java:406) ~[elasticsearch-6.2.2.jar:6.2.2]
[2020-03-05T22:46:44,411][WARN ][o.e.m.j.JvmGcMonitorService] [CMCI1] [gc][425917] overhead, spent [2.1s] collecting in the last [2.1s]
[2020-03-05T22:47:55,387][INFO ][o.e.n.Node ] [CMCI1] initializing ...
[2020-03-05T22:47:55,512][INFO ][o.e.e.NodeEnvironment ] [CMCI1] using [1] data paths, mounts [[CONTENT MANAGER (D:)]], net usable_space [464.5gb], net total_space [499.8gb], types [NTFS]
[2020-03-05T22:47:55,512][INFO ][o.e.e.NodeEnvironment ] [CMCI1] heap size [7.9gb], compressed ordinary object pointers [true]
[2020-03-05T22:47:55,544][INFO ][o.e.n.Node ] [CMCI1] node name [CMCI1], node ID [8rqDFoTZR2Om0vgvStKalA]
[2020-03-05T22:47:55,544][INFO ][o.e.n.Node ] [CMCI1] version[6.2.2], pid[7092], build[10b1edd/2018-02-16T19:01:30.685723Z], OS[Windows Server 2016/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_181/25.181-b13]
[2020-03-05T22:47:55,544][INFO ][o.e.n.Node ] [CMCI1] JVM arguments [-Xms8g, -Xmx8g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=C:\Users\am107\AppData\Local\Temp\2\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Delasticsearch, -Des.path.home=D:\elasticsearch-6.2.2, -Des.path.conf=D:\elasticsearch-6.2.2\config, exit, -Xms8192m, -Xmx8192m, -Xss1024k]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [aggs-matrix-stats]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [analysis-common]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [ingest-common]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [lang-expression]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [lang-mustache]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [lang-painless]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [mapper-extras]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [parent-join]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [percolator]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [rank-eval]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [reindex]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [repository-url]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [transport-netty4]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] loaded module [tribe]
[2020-03-05T22:47:57,672][INFO ][o.e.p.PluginsService ] [CMCI1] no plugins loaded
From opening the HPROF within YourKit Java Profiler, we have inspected the inconsistencies and have found that there are massive amounts of memory leaks - is there a later version of Elasticsearch that handles memory leaks more efficiently?
Or, is the only way to move forward to increase the RAM? We currently have 8GB allocated to Elasticsearch - is this not enough?
Cheers
Sarah