Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1776

Memory leak in org.xnio.nio.WorkerThread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 2.0.29.Final
    • Core
    • None
    • Hide

      To use the standard websocket JSR annotation and send the websocket message with

      code lines below:

      session.getAsyncRemote().sendText(message);

      Show
      To use the standard websocket JSR annotation and send the websocket message with code lines below: session.getAsyncRemote().sendText(message);

    Description

      I am using Spring Cloud Hoxton SR3 and the embed undertow is on 2.0.29.Final. I use @

      ServerEndpoint to do with websocket. After days of running my service, it's facing OOM error and the heap dump shows that a lot of ClosedChannelException were raised in io.undertow.websockets.jsr.SendResultFuture. 

       
      The thread org.xnio.nio.WorkerThread @ 0x8acb68b0 XNIO-1 I/O-2 keeps local variables with total size 1,013,658,912 (60.94%) bytes.
      The memory is accumulated in one instance of "java.lang.Object[]" loaded by "<system class loader>".
       
      Is this a bug?
       

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            brianli.vip Brian Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: