Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created March 30, 2012 15:51
Show Gist options
  • Save thesurlydev/2252398 to your computer and use it in GitHub Desktop.
Save thesurlydev/2252398 to your computer and use it in GitHub Desktop.
ES failure after large number of attachments indexed
[2012-03-30 15:11:05,528][WARN ][index.engine.robin ] [dev1] [threads][0] failed engine
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2798)
at org.elasticsearch.common.io.stream.BytesStreamOutput.writeByte(BytesStreamOutput.java:54)
at org.elasticsearch.common.io.stream.StreamOutput.writeBoolean(StreamOutput.java:179)
at org.elasticsearch.index.translog.Translog$Index.writeTo(Translog.java:483)
at org.elasticsearch.index.translog.TranslogStreams.writeTranslogOperation(TranslogStreams.java:82)
at org.elasticsearch.index.translog.fs.FsTranslog.add(FsTranslog.java:328)
at org.elasticsearch.index.engine.robin.RobinEngine.innerIndex(RobinEngine.java:576)
at org.elasticsearch.index.engine.robin.RobinEngine.index(RobinEngine.java:479)
at org.elasticsearch.index.shard.service.InternalIndexShard.index(InternalIndexShard.java:323)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:206)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:529)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.start(TransportShardReplicationOperationAction.java:431)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.start(TransportShardReplicationOperationAction.java:338)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction.doExecute(TransportShardReplicationOperationAction.java:104)
at org.elasticsearch.action.index.TransportIndexAction.innerExecute(TransportIndexAction.java:135)
at org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:117)
at org.elasticsearch.action.index.TransportIndexAction.doExecute(TransportIndexAction.java:67)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61)
at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:220)
at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:148)
at org.elasticsearch.action.update.TransportUpdateAction.shardOperation(TransportUpdateAction.java:71)
at org.elasticsearch.action.support.single.instance.TransportInstanceSingleOperationAction$AsyncSingleAction$1.run(TransportInstanceSingleOperationAction.java:179)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
[2012-03-30 15:11:27,481][WARN ][cluster.action.shard ] [dev1] sending failed shard for [threads][0], node[oRB3kz0IRCivVqlkFKgEtw], [P], s[STARTED], reason [engine failure, message [OutOfMemoryError[Java heap space]]]
[2012-03-30 15:11:27,481][WARN ][cluster.action.shard ] [dev1] received shard failed for [threads][0], node[oRB3kz0IRCivVqlkFKgEtw], [P], s[STARTED], reason [engine failure, message [OutOfMemoryError[Java heap space]]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment