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

Progressively step down default heap size reservation request until OS can satisfy it

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 7
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      Heap size ergonomics can generate a virtual memory reservation size request that exceeds
      what the OS can satisfy. This is a particular problem on Windows when running a jvm embedded in another process. It can be impossible to allocate a contiguous chunk of
      virtual address space for the Java heap due to a fragmented virtual address space.

      The current behavior is to refuse to start the vm. In the absence of a non-contiguous
      heap solution, an interim fix is to progressively step down the size of the heap
      reservation request until the OS can satisfy it. We probably want to stop at the
      default minimum size, currently 96mb.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                phh Paul Hohensee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: