java.lang.OutOfMemoryError

Java heap space [DEBUG][action.bulk ] [<host>] failed to execute [BulkShardRequest to [<index>] containing [1] requests] on [[<index>][4]] [<index>][[<index>][4]] EngineClosedException[CurrentState[CLOSED] Closed]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by LeeDr
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space [DEBUG][action.bulk ] [<host>] failed to execute [BulkShardRequest to [<index>] containing [1] requests] on [[<index>][4]] [<index>][[<index>][4]] EngineClosedException[CurrentState[CLOSED] Closed] at org.elasticsearch.index.engine.Engine.ensureOpen(Engine.java:329) at org.elasticsearch.index.engine.InternalEngine.get(InternalEngine.java:317) at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:652) at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:173) at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:86) at org.elasticsearch.action.update.UpdateHelper.prepare(UpdateHelper.java:77) at org.elasticsearch.action.bulk.TransportShardBulkAction.shardUpdateOperation(TransportShardBulkAction.java:383) at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:191) at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:68) at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryPhase.doRun(TransportReplicationAction.java:639) at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:279) at org.elasticsearch.action.support.replication.TransportReplicationAction$PrimaryOperationTransportHandler.messageReceived(TransportReplicationAction.java:271) at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:75) at org.elasticsearch.transport.TransportService$4.doRun(TransportService.java:376) at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.