java.lang.OutOfMemoryError: Java heap space

Server Fault | Kramer Li | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    opentsdb hang under load

    GitHub | 2 years ago | kramerli
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    opentsdb process stuck due to "Unexpected exception from downstream"

    Server Fault | 2 years ago | Kramer Li
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    [package - head-i386-default][java/openjdk8-jre] Failed for openjdk8-jre-8.77.3 in build

    Google Groups | 1 year ago | Unknown author
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error : java.lang.OutOfMemoryError: Java heap space

    Google Groups | 6 years ago | Abhishek kumar
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    [mongodb-user] Error : java.lang.OutOfMemoryError: Java heap space

    Google Groups | 6 years ago | Abhishek kumar
    java.lang.OutOfMemoryError: Java heap space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.nio.HeapCharBuffer.<init>()
    2. Java RT
      CharBuffer.allocate
      1. java.nio.HeapCharBuffer.<init>(HeapCharBuffer.java:57)[na:1.7.0_85]
      2. java.nio.CharBuffer.allocate(CharBuffer.java:331)[na:1.7.0_85]
      2 frames
    3. Netty
      AbstractChannelBuffer.toString
      1. org.jboss.netty.buffer.ChannelBuffers.decodeString(ChannelBuffers.java:1193)[netty-3.9.4.Final.jar:na]
      2. org.jboss.netty.buffer.AbstractChannelBuffer.toString(AbstractChannelBuffer.java:551)[netty-3.9.4.Final.jar:na]
      3. org.jboss.netty.buffer.AbstractChannelBuffer.toString(AbstractChannelBuffer.java:543)[netty-3.9.4.Final.jar:na]
      3 frames
    4. net.opentsdb.tsd
      RpcHandler.messageReceived
      1. net.opentsdb.tsd.HttpQuery.getContent(HttpQuery.java:459)[tsdb-2.1.0.jar:c775b5f]
      2. net.opentsdb.tsd.HttpJsonSerializer.parsePutV1(HttpJsonSerializer.java:133)[tsdb-2.1.0.jar:c775b5f]
      3. net.opentsdb.tsd.PutDataPointRpc.execute(PutDataPointRpc.java:102)[tsdb-2.1.0.jar:c775b5f]
      4. net.opentsdb.tsd.RpcHandler.handleHttpQuery(RpcHandler.java:273)[tsdb-2.1.0.jar:c775b5f]
      5. net.opentsdb.tsd.RpcHandler.messageReceived(RpcHandler.java:180)[tsdb-2.1.0.jar:c775b5f]
      5 frames
    5. Netty
      Channels.fireMessageReceived
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
      2. org.jboss.netty.handler.timeout.IdleStateAwareChannelUpstreamHandler.handleUpstream(IdleStateAwareChannelUpstreamHandler.java:36)[netty-3.9.4.Final.jar:na]
      3. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
      4. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
      5. org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:294)[netty-3.9.4.Final.jar:na]
      6. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
      7. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
      8. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
      9. org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:82)[netty-3.9.4.Final.jar:na]
      10. org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)[netty-3.9.4.Final.jar:na]
      11. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
      12. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
      13. org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108)[netty-3.9.4.Final.jar:na]
      14. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
      15. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
      16. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
      17. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[netty-3.9.4.Final.jar:na]
      18. org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:194)[netty-3.9.4.Final.jar:na]
      19. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)[netty-3.9.4.Final.jar:na]
      20. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)[netty-3.9.4.Final.jar:na]
      21. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)[netty-3.9.4.Final.jar:na]
      22. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)[netty-3.9.4.Final.jar:na]
      22 frames