java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory

GitHub | biran0079 | 3 months ago
  1. 0

    GitHub comment 2289#248776745

    GitHub | 3 months ago | biran0079
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory
  2. 0

    gRPC OOME and NPE in simple JMH benchmark

    Stack Overflow | 1 year ago | wener
    java.lang.OutOfMemoryError: Direct buffer memory
  3. 0

    GitHub comment 1216#157919836

    GitHub | 1 year ago | wenerme
    java.lang.OutOfMemoryError: Direct buffer memory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    grpc OOME and NPE in simple JMH benchmark

    GitHub | 1 year ago | wenerme
    java.lang.OutOfMemoryError: Direct buffer memory
  6. 0

    GitHub comment 1216#176361690

    GitHub | 10 months ago | bobymicroby
    java.lang.OutOfMemoryError: Direct buffer memory

    7 unregistered visitors
    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

      Direct buffer memory

      at java.nio.Bits.reserveMemory()
    2. Java RT
      ByteBuffer.allocateDirect
      1. java.nio.Bits.reserveMemory(Bits.java:693)[na:1.8.0_101]
      2. java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)[na:1.8.0_101]
      3. java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)[na:1.8.0_101]
      3 frames
    3. Netty
      AbstractByteBufAllocator.buffer
      1. io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:688)[netty-all.jar:4.1.0.CR7]
      2. io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:237)[netty-all.jar:4.1.0.CR7]
      3. io.netty.buffer.PoolArena.allocate(PoolArena.java:213)[netty-all.jar:4.1.0.CR7]
      4. io.netty.buffer.PoolArena.allocate(PoolArena.java:141)[netty-all.jar:4.1.0.CR7]
      5. io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:262)[netty-all.jar:4.1.0.CR7]
      6. io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)[netty-all.jar:4.1.0.CR7]
      7. io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:115)[netty-all.jar:4.1.0.CR7]
      7 frames
    4. io.grpc.netty
      NettyWritableBufferAllocator.allocate
      1. io.grpc.netty.NettyWritableBufferAllocator.allocate(NettyWritableBufferAllocator.java:66)[grpc-netty.jar:0.14.0]
      1 frame
    5. io.grpc.internal
      ServerCallImpl.sendMessage
      1. io.grpc.internal.MessageFramer.writeKnownLength(MessageFramer.java:188)[grpc-core.jar:0.14.0]
      2. io.grpc.internal.MessageFramer.writeUncompressed(MessageFramer.java:147)[grpc-core.jar:0.14.0]
      3. io.grpc.internal.MessageFramer.writePayload(MessageFramer.java:124)[grpc-core.jar:0.14.0]
      4. io.grpc.internal.AbstractStream.writeMessage(AbstractStream.java:172)[grpc-core.jar:0.14.0]
      5. io.grpc.internal.AbstractServerStream.writeMessage(AbstractServerStream.java:110)[grpc-core.jar:0.14.0]
      6. io.grpc.internal.ServerCallImpl.sendMessage(ServerCallImpl.java:157)[grpc-core.jar:0.14.0]
      6 frames
    6. io.grpc.stub
      ServerCalls$ServerCallStreamObserverImpl.onNext
      1. io.grpc.stub.ServerCalls$ServerCallStreamObserverImpl.onNext(ServerCalls.java:279)[grpc-stub.jar:0.14.0]
      1 frame
    7. Java RT
      ReferencePipeline.forEach
      1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)[na:1.8.0_101]
      2. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[na:1.8.0_101]
      3. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)[na:1.8.0_101]
      4. java.util.Iterator.forEachRemaining(Iterator.java:116)[na:1.8.0_101]
      5. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)[na:1.8.0_101]
      6. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[na:1.8.0_101]
      7. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[na:1.8.0_101]
      8. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)[na:1.8.0_101]
      9. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)[na:1.8.0_101]
      10. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[na:1.8.0_101]
      11. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)[na:1.8.0_101]
      11 frames
    8. com.addepar.services
      SnapshotServiceGrpc$MethodHandlers.invoke
      1. com.addepar.services.snapshots.server.SnapshotServiceImpl.getSnapshots(SnapshotServiceImpl.java:161)[snapshots.jar:na]
      2. com.addepar.services.snapshots.proto.SnapshotServiceGrpc$MethodHandlers.invoke(SnapshotServiceGrpc.java:547)[proto.jar:na]
      2 frames
    9. io.grpc.stub
      ServerCalls$1$1.onHalfClose
      1. io.grpc.stub.ServerCalls$1$1.onHalfClose(ServerCalls.java:151)[grpc-stub.jar:0.14.0]
      1 frame
    10. io.grpc
      ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose
      1. io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:48)[grpc-core.jar:0.14.0]
      2. io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:38)[grpc-core.jar:0.14.0]
      3. io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:55)[grpc-core.jar:0.14.0]
      3 frames
    11. io.grpc.internal
      SerializingExecutor$TaskRunner.run
      1. io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:259)[grpc-core.jar:0.14.0]
      2. io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$2.runInContext(ServerImpl.java:464)[grpc-core.jar:0.14.0]
      3. io.grpc.internal.ContextRunnable.run(ContextRunnable.java:54)[grpc-core.jar:0.14.0]
      4. io.grpc.internal.SerializingExecutor$TaskRunner.run(SerializingExecutor.java:154)[grpc-core.jar:0.14.0]
      4 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
      3 frames