Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344882 (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
  3. JDK-8345611

Release Note: Memory Used by Internal Temporary Direct Buffers Is No Longer Limited

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 24
    • 24
    • core-libs

      The Java Virtual Machine (JVM) option `MaxDirectMemorySize` controls the maximum total size of memory that may be used for direct buffers in an instance of the JVM. Its default value is the maximum size of the heap. Prior to JDK 24, the amount of memory allocated for internal, temporary direct buffers such as used, for example, when reading from or writing to a `java.nio.channels.FileChannel`, was included in this total. As of JDK 24, internal use of temporary direct buffers is no longer included in the total.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: