Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186248

Allow more flexibility in selecting Heap % of available RAM

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 10
    • 8u144
    • hotspot
    • gc
    • b23

        A customer has asked if it would be possible to specify an option that would allow the VM to select a percentage of available RAM. This becomes important when running the JVM in a Docker container where the amount of RAM available to a Java process can vary. The customer would like to use as much available RAM as possible rather than counting on ergonomics to pick the amount for them.

        The -XX:Min/MaxRAMFraction options come close to providing what the customer wants but they would either prefer a new set of flags that would represent a % of total rather than a ratio or they would be ok if we change the existing flags to a floating point value. The new flag could be named -XX:MaxRAMPercentage=xx


              bobv Bob Vandette (Inactive)
              bobv Bob Vandette (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: