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

DefaultByteBufferPool memory leak when maximumPoolSize is set

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: