java.lang.OutOfMemoryError: Direct buffer memory

Stack Overflow | j9dy | 4 months ago
  1. 0

    OOM Direct buffer memory from SslHandler.flush

    GitHub | 5 months ago | Kangmo
    java.lang.OutOfMemoryError: Direct buffer memory
  2. 0

    GitHub comment 2289#248776745

    GitHub | 2 months ago | biran0079
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Direct memory exhaustion large multipart upload

    GitHub | 9 months ago | mfikes
    java.lang.OutOfMemoryError: Direct buffer memory
  5. 0

    SearchContextMissingException and out-of-memory crash

    Google Groups | 5 years ago | Erik Rose
    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_91]
      2. java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)[na:1.8.0_91]
      3. java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)[na:1.8.0_91]
      3 frames
    3. org.apache.cassandra
      SinglePartitionReadCommand.queryMemtableAndDisk
      1. org.apache.cassandra.utils.memory.BufferPool.allocate(BufferPool.java:108)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.utils.memory.BufferPool.access$1000(BufferPool.java:45)[apache-cassandra-3.0.8.jar:3.0.8]
      3. org.apache.cassandra.utils.memory.BufferPool$LocalPool.allocate(BufferPool.java:387)[apache-cassandra-3.0.8.jar:3.0.8]
      4. org.apache.cassandra.utils.memory.BufferPool$LocalPool.access$000(BufferPool.java:314)[apache-cassandra-3.0.8.jar:3.0.8]
      5. org.apache.cassandra.utils.memory.BufferPool.takeFromPool(BufferPool.java:120)[apache-cassandra-3.0.8.jar:3.0.8]
      6. org.apache.cassandra.utils.memory.BufferPool.get(BufferPool.java:92)[apache-cassandra-3.0.8.jar:3.0.8]
      7. org.apache.cassandra.io.util.RandomAccessReader.allocateBuffer(RandomAccessReader.java:87)[apache-cassandra-3.0.8.jar:3.0.8]
      8. org.apache.cassandra.io.compress.CompressedRandomAccessReader.access$100(CompressedRandomAccessReader.java:38)[apache-cassandra-3.0.8.jar:3.0.8]
      9. org.apache.cassandra.io.compress.CompressedRandomAccessReader$Builder.createBuffer(CompressedRandomAccessReader.java:275)[apache-cassandra-3.0.8.jar:3.0.8]
      10. org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:74)[apache-cassandra-3.0.8.jar:3.0.8]
      11. org.apache.cassandra.io.compress.CompressedRandomAccessReader.<init>(CompressedRandomAccessReader.java:59)[apache-cassandra-3.0.8.jar:3.0.8]
      12. org.apache.cassandra.io.compress.CompressedRandomAccessReader$Builder.build(CompressedRandomAccessReader.java:283)[apache-cassandra-3.0.8.jar:3.0.8]
      13. org.apache.cassandra.io.util.CompressedSegmentedFile.createReader(CompressedSegmentedFile.java:145)[apache-cassandra-3.0.8.jar:3.0.8]
      14. org.apache.cassandra.io.util.SegmentedFile.createReader(SegmentedFile.java:133)[apache-cassandra-3.0.8.jar:3.0.8]
      15. org.apache.cassandra.io.sstable.format.SSTableReader.getFileDataInput(SSTableReader.java:1711)[apache-cassandra-3.0.8.jar:3.0.8]
      16. org.apache.cassandra.db.columniterator.AbstractSSTableIterator.<init>(AbstractSSTableIterator.java:93)[apache-cassandra-3.0.8.jar:3.0.8]
      17. org.apache.cassandra.db.columniterator.SSTableIterator.<init>(SSTableIterator.java:46)[apache-cassandra-3.0.8.jar:3.0.8]
      18. org.apache.cassandra.db.columniterator.SSTableIterator.<init>(SSTableIterator.java:36)[apache-cassandra-3.0.8.jar:3.0.8]
      19. org.apache.cassandra.io.sstable.format.big.BigTableReader.iterator(BigTableReader.java:62)[apache-cassandra-3.0.8.jar:3.0.8]
      20. org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDiskInternal(SinglePartitionReadCommand.java:580)[apache-cassandra-3.0.8.jar:3.0.8]
      21. org.apache.cassandra.db.SinglePartitionReadCommand.queryMemtableAndDisk(SinglePartitionReadCommand.java:492)[apache-cassandra-3.0.8.jar:3.0.8]
      21 frames
    4. com.stratio.cassandra
      IndexWriterWide.finish
      1. com.stratio.cassandra.lucene.IndexService.read(IndexService.java:618)[cassandra-lucene-index-plugin-3.0.8.0.jar:na]
      2. com.stratio.cassandra.lucene.IndexWriterWide.finish(IndexWriterWide.java:89)[cassandra-lucene-index-plugin-3.0.8.0.jar:na]
      2 frames
    5. org.apache.cassandra
      UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced
      1. org.apache.cassandra.index.SecondaryIndexManager$IndexGCTransaction.commit(SecondaryIndexManager.java:958)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.db.compaction.CompactionIterator$1$1.onMergedRows(CompactionIterator.java:197)[apache-cassandra-3.0.8.jar:3.0.8]
      3. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:484)[apache-cassandra-3.0.8.jar:3.0.8]
      4. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator$MergeReducer.getReduced(UnfilteredRowIterators.java:446)[apache-cassandra-3.0.8.jar:3.0.8]
      4 frames
    6. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:220)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:159)[apache-cassandra-3.0.8.jar:3.0.8]
      3. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.0.8.jar:3.0.8]
      3 frames
    7. org.apache.cassandra
      UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext
      1. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:428)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.db.rows.UnfilteredRowIterators$UnfilteredRowMergeIterator.computeNext(UnfilteredRowIterators.java:288)[apache-cassandra-3.0.8.jar:3.0.8]
      2 frames
    8. Apache Cassandra
      AbstractIterator.hasNext
      1. org.apache.cassandra.utils.AbstractIterator.hasNext(AbstractIterator.java:47)[apache-cassandra-3.0.8.jar:3.0.8]
      1 frame
    9. org.apache.cassandra
      CompactionTask.runMayThrow
      1. org.apache.cassandra.db.transform.BaseRows.hasNext(BaseRows.java:128)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.db.ColumnIndex$Builder.build(ColumnIndex.java:111)[apache-cassandra-3.0.8.jar:3.0.8]
      3. org.apache.cassandra.db.ColumnIndex.writeAndBuildIndex(ColumnIndex.java:52)[apache-cassandra-3.0.8.jar:3.0.8]
      4. org.apache.cassandra.io.sstable.format.big.BigTableWriter.append(BigTableWriter.java:149)[apache-cassandra-3.0.8.jar:3.0.8]
      5. org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:125)[apache-cassandra-3.0.8.jar:3.0.8]
      6. org.apache.cassandra.db.compaction.writers.DefaultCompactionWriter.realAppend(DefaultCompactionWriter.java:57)[apache-cassandra-3.0.8.jar:3.0.8]
      7. org.apache.cassandra.db.compaction.writers.CompactionAwareWriter.append(CompactionAwareWriter.java:109)[apache-cassandra-3.0.8.jar:3.0.8]
      8. org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:182)[apache-cassandra-3.0.8.jar:3.0.8]
      8 frames
    10. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[apache-cassandra-3.0.8.jar:3.0.8]
      1 frame
    11. org.apache.cassandra
      CompactionManager$BackgroundCompactionCandidate.run
      1. org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78)[apache-cassandra-3.0.8.jar:3.0.8]
      2. org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60)[apache-cassandra-3.0.8.jar:3.0.8]
      3. org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263)[apache-cassandra-3.0.8.jar:3.0.8]
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
      5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
      5 frames