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

-mx does not accept greater than 2000mb

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • docs
    • x86
    • solaris_2.6



      Name: skT45625 Date: 01/03/2001


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
      Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)


      We have an application that can use large amounts of memory on a SMP
      Intel processor system with 4 processors and 4GB of physical memory
      under Solaris for Intel 2.6.

      When attempting to create a JVM, even simply to get the -version
      information, with a value for the maximum heap size in excess of 2014mb
      I get:

      >$ java -Xmx2015mb -version
      > Error occurred during initialization of VM
      > Could not reserve enough space for object heap

      Why? There is lots more physical available memory on the machine. (A
      simple C program can malloc almost 3500M before failing with a "Not
      enough space" error.)

      I suspect the response is going to be the JVM can't get the requested
      amount of _contiguous_ memory. If so, I suggest that limitation (and
      some indication of how one can determine or change that) be added to the
      -Xmx documentation. If not, what is the problem?

      This, plus the HotSpot Virtual Machine Error, Internal Error bug with
        bug id 4355769 are bringing this work to a stand still.
      (Review ID: 114520)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: