java.lang.OutOfMemoryError: Direct buffer memory

open-xchange.com | 3 months ago
  1. 0

    Less spammy error reporting

    GitHub | 2 years ago | ggreer
    java.lang.OutOfMemoryError: Direct buffer memory
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    0.90.6 memory issue

    GitHub | 3 years ago | brackxm
    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:658)
      2. java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
      3. java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
      3 frames
    3. Grizzly
      TemporarySelectorWriter.write
      1. org.glassfish.grizzly.nio.transport.TCPNIOTransport.obtainDirectByteBuffer(TCPNIOTransport.java:1207)
      2. org.glassfish.grizzly.nio.transport.TCPNIOTransport.writeGathered(TCPNIOTransport.java:1111)
      3. org.glassfish.grizzly.nio.transport.TCPNIOTransport.write(TCPNIOTransport.java:1026)
      4. org.glassfish.grizzly.nio.transport.TCPNIOTemporarySelectorWriter.writeNow0(TCPNIOTemporarySelectorWriter.java:65)
      5. org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write0(TemporarySelectorWriter.java:167)
      6. org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(TemporarySelectorWriter.java:118)
      7. org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(TemporarySelectorWriter.java:77)
      8. org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(TemporarySelectorWriter.java:58)
      8 frames
    4. Grizzly Server
      OXTCPNIOTransportFilter.handleWrite
      1. org.glassfish.grizzly.http.server.OXTCPNIOTransportFilter.handleWrite(OXTCPNIOTransportFilter.java:210)
      1 frame
    5. Grizzly
      DefaultFilterChain.executeChainPart
      1. org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
      2. org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
      4 frames