java.lang.OutOfMemoryError: GC overhead limit exceeded

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: GC overhead limit exceeded

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      GC overhead limit exceeded

      at com.google.protobuf.ZeroCopyLiteralByteString.wrap()
    2. Protocol Buffer Java API
      ZeroCopyLiteralByteString.wrap
      1. com.google.protobuf.ZeroCopyLiteralByteString.wrap(ZeroCopyLiteralByteString.java:52)[asynchbase-1.6.0.jar:na]
      1 frame
    3. org.hbase.async
      HBaseClient.put
      1. org.hbase.async.Bytes.wrap(Bytes.java:287)[asynchbase-1.6.0.jar:na]
      2. org.hbase.async.PutRequest.toMutationProto(PutRequest.java:529)[asynchbase-1.6.0.jar:na]
      3. org.hbase.async.MultiAction.serialize(MultiAction.java:229)[asynchbase-1.6.0.jar:na]
      4. org.hbase.async.RegionClient.encode(RegionClient.java:1146)[asynchbase-1.6.0.jar:na]
      5. org.hbase.async.RegionClient.sendRpc(RegionClient.java:894)[asynchbase-1.6.0.jar:na]
      6. org.hbase.async.RegionClient.bufferEdit(RegionClient.java:757)[asynchbase-1.6.0.jar:na]
      7. org.hbase.async.RegionClient.sendRpc(RegionClient.java:881)[asynchbase-1.6.0.jar:na]
      8. org.hbase.async.HBaseClient.sendRpcToRegion(HBaseClient.java:1698)[asynchbase-1.6.0.jar:na]
      9. org.hbase.async.HBaseClient.put(HBaseClient.java:1343)[asynchbase-1.6.0.jar:na]
      9 frames
    4. net.opentsdb.core
      TSDB.addPoint
      1. net.opentsdb.core.TSDB.addPointInternal(TSDB.java:681)[tsdb-2.1.0.jar:c775b5f]
      2. net.opentsdb.core.TSDB.addPoint(TSDB.java:573)[tsdb-2.1.0.jar:c775b5f]
      2 frames
    5. net.opentsdb.tsd
      RpcHandler.messageReceived
      1. net.opentsdb.tsd.PutDataPointRpc.execute(PutDataPointRpc.java:146)[tsdb-2.1.0.jar:c775b5f]
      2. net.opentsdb.tsd.RpcHandler.handleHttpQuery(RpcHandler.java:273)[tsdb-2.1.0.jar:c775b5f]
      3. net.opentsdb.tsd.RpcHandler.messageReceived(RpcHandler.java:180)[tsdb-2.1.0.jar:c775b5f]
      3 frames
    6. 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]
      17 frames