Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-346

ByteBufferSlicePool allocated direct buffers should be reused

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.7.3.Final
    • 3.7.2.Final
    • None
    • None

    Description

      The pool can be recreated inside WildFly at every call to reload the server. With that, direct allocated buffers are just lost but, as pointed in the Javadoc of ByteBuffer:
      "The contents of direct buffers may reside outside of the normal garbage-collected heap, and so their impact upon the memory footprint of an application might not be obvious. "

      An out of memory error can be verified by reloading the WildFly server several times after performing a cli operation, that causes direct buffers to be allocated.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: