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

Getting invalid maximum heap size messages.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.2
    • hotspot
    • b37
    • x86
    • windows_xp



      Name: rmT116609 Date: 12/16/2003


      FULL PRODUCT VERSION :
      java version "1.4.2_02"
      Java(TM) 2 Runtime Environment, Standard Edition(build 1.4.2_02-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixedmode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using -server on the command line.

      A DESCRIPTION OF THE PROBLEM :

      C:\>java -Xmx4096m
      Invalid maximum heap size: -Xmx4096m
      Could not create the Java virtual machine.

      C:\>java -Xmx4g
      Invalid maximum heap size: -Xmx4g
      Could not create the Java virtual machine.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run with -Xmx > 4096mb

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Should either create the VM or indicate that it can't allocate enough memory (os issue).

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 231211)
      ======================================================================

            sbohne Steve Bohne (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: