-
Bug
-
Resolution: Done
-
Major
-
2.1.4.Final
-
None
OOME in direct buffer happens when a remote client calls an asynchronous method which has return type void many times.
2016-04-20 17:10:23,140 INFO (Thread-28) [TestMainDBufferLeak] invoked=599,000, total=98,590,724, used=98,590,724, count=49 2016-04-20 17:10:23,766 ERROR (Remoting "config-based-ejb-client-endpoint" I/O-1) [org.xnio.listener] XNIO001007: A channel event listener threw an exc eption java.lang.OutOfMemoryError: Direct buffer memory at java.nio.Bits.reserveMemory(Bits.java:693) at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311) at org.xnio.BufferAllocator$2.allocate(BufferAllocator.java:57) at org.xnio.BufferAllocator$2.allocate(BufferAllocator.java:55) at org.xnio.ByteBufferSlicePool.allocate(ByteBufferSlicePool.java:146) at org.jboss.remoting3.remote.RemoteConnection.allocate(RemoteConnection.java:77) at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:290) at org.jboss.remoting3.remote.RemoteReadListener.handleEvent(RemoteReadListener.java:46) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:199) at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(TranslatingSuspendableChannel.java:113) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.ChannelListeners$DelegatingChannelListener.handleEvent(ChannelListeners.java:1092) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) at org.xnio.nio.WorkerThread.run(WorkerThread.java:559)
- is cloned by
-
JBEAP-4284 Calling remote asynchronous void method causes OutOfMemoryError in direct buffer memory
- Closed