My Oracle Support Banner

Elasticsearch - JAVA Memory Heap Errors Reported (Doc ID 2637026.1)

Last updated on FEBRUARY 10, 2020

Applies to:

Oracle WebCenter Portal - Version 12.2.1.3.190715 and later
Information in this document applies to any platform.

Symptoms

Elasticsearch crawl aborts with the following message in the log:

[TIMESTAMP][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [ADMINSERVERHOST] fatal error in thread [elasticsearch[ADMINSERVERHOST][index][T#4]], exiting
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332) ~[?:1.8.0_231]
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) ~[?:1.8.0_231]
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) ~[?:1.8.0_231]
at java.lang.StringBuilder.append(StringBuilder.java:136) ~[?:1.8.0_231]
at org.elasticsearch.action.index.IndexRequest.toString(IndexRequest.java:727) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.action.support.replication.ReplicationRequest.getDescription(ReplicationRequest.java:249) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.action.support.replication.ReplicationRequest.createTask(ReplicationRequest.java:225) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.action.support.replication.TransportReplicationAction$ConcreteShardRequest.createTask(TransportReplicationAction.java:1006) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.tasks.TaskManager.register(TaskManager.java:87) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:63) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.transport.TransportService$6.doRun(TransportService.java:577) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:527) ~[elasticsearch-5.1.2.jar:5.1.2]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.1.2.jar:5.1.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_231]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_231]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.