Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9545

Getting java.lang.OutOfMemoryError: Direct buffer memory in WILDFLY-8.1.0.FINAL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.1.0.Final
    • Application Client
    • None

    Description

      JVM Arguments : -Xmx2048m

      Getting outOfMemory issue while accessing the JMX subsystem from the outside client to Wildfly-8.1.0.FINAL

      Below the stack trace of Error :

      2017-10-02 13:45:05,964 ERROR [NSRequestID=] [listener] [] (XNIO-1 I/O-1) (,,,) XNIO001007: A channel event listener threw an exception: 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:149)
      at org.xnio.ssl.JsseSslConduitEngine.<init>(JsseSslConduitEngine.java:143)
      at org.xnio.ssl.JsseSslStreamConnection.<init>(JsseSslStreamConnection.java:71)
      at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:45)
      at org.xnio.ssl.JsseAcceptingSslStreamConnection.accept(JsseAcceptingSslStreamConnection.java:37)
      at org.xnio.ssl.AbstractAcceptingSslChannel.accept(AbstractAcceptingSslChannel.java:187)
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:289)
      at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
      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.nio.NioTcpServerHandle.handleReady(NioTcpServerHandle.java:53)
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:539)

      Has anyone has any idea about the issue ?

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            ashishgirdhar_jira Ashish Girdhar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: