java.lang.OutOfMemoryError: Direct buffer memory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:658)
at java.nio.DirectByteBuffer.(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.obtainDirectByteBuffer(TCPNIOTransport.java:1207)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.writeGathered(TCPNIOTransport.java:1111)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.write(TCPNIOTransport.java:1026)
at org.glassfish.grizzly.nio.transport.TCPNIOTemporarySelectorWriter.writeNow0(TCPNIOTemporarySelectorWriter.java:65)
at org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write0(TemporarySelectorWriter.java:167)
at org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(TemporarySelectorWriter.java:118)
at org.glassfish.grizzly.nio.tmpselectors.TemporarySelectorWriter.write(TemporarySelectorWriter.java:77)
at org.glassfish.grizzly.filterchain.TransportFilter.handleWrite(TransportFilter.java:191)
at org.glassfish.grizzly.filterchain.ExecutorResolver$8.execute(ExecutorResolver.java:111)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.