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

DefaultByteBufferPool memory leak when maximumPoolSize is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.4.24.Final, 2.0.4.Final
    • None
    • None
    • None

    Description

      DefaultByteBufferPool decrements the currentQueueLength value when retrieving a ByteBuffer from the threadlocal queue, not when values are polled from the shared queue.

      In my debugger I have maxPoolSize=10, and after a few minutes of running a server(POST operations) my currentQueueLength is -15722 and my queue has 33 elements, despite a maximum configured value of 10.

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            carterkozak Carter Kozak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: