java.lang.OutOfMemoryError: Java heap space

Stack Overflow | shanky123 | 6 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Elasticsearch- client nodes and Out of Memory

    Stack Overflow | 6 months ago | shanky123
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Yet another OOME: Java heap space thread :S

    Google Groups | 3 years ago | Chris Neal
    java.lang.OutOfMemoryError: Java heap space]; nested: OutOfMemoryError[Java heap space]; ]] [2014-07-30 15:57:42,531][WARN ][indices.recovery ] [elasticsearch-ip-10-0-0-41] [derbysoft-20140730][1] recovery from [[elasticsearch-ip-10-0-0-45][AjN-6_DHQK6B8NJgfphMvA][][inet[/]]] failed org.elasticsearch.transport.RemoteTransportException: [elasticsearch-ip-10-0-0-45][inet[/ ]][index/shard/recovery/startRecovery] Caused by: org.elasticsearch.index.engine.RecoveryEngineException: [derbysoft-20140730][1] Phase[2] Execution failed

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at org.elasticsearch.common.util.BigArrays.newByteArray()
    2. ElasticSearch
      1. org.elasticsearch.common.util.BigArrays.newByteArray(
      2. org.elasticsearch.common.util.BigArrays.newByteArray(
      6. org.elasticsearch.transport.netty.NettyTransportChannel.sendResponse(
      7. org.elasticsearch.transport.netty.MessageChannelHandler$
      7 frames
    3. Java RT
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(
      2. java.util.concurrent.ThreadPoolExecutor$
      3 frames