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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 9
    • 7
    • hotspot
    • None
    • gc
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: