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

PIT: AWT Headless tests throws java.lang.OutOfMemoryError while compiling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.2
    • hotspot
    • mantis
    • sparc
    • solaris_9

      javac for AWT Headless tests throws following exception in the PIT build:

      The system is out of resources.
      Consult the following stack trace for details.
      java.lang.OutOfMemoryError
      gnumake: *** [compilefiles] Error 3

      If javac is provided with the option -J-mx128m to increase the maximum size of the heap, the compilation will be through. The same test compiles with Mantis b01 without increasing heap size.

      The PIT build location:
      /net/sqindia.india.sun.com/export/disk02/awt/PITBUILDS/mantis-aug-9

      Java version:

      java version "1.4.2-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-internal-bchristi_09_aug_2002_11_05)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.2-beta-b01, mixed mode)


      Test suite location:

      /net/sqindia.india.sun.com/export/disk02/awt/iec_awt_ws/Headless/BAT OR
      /net/sqesvr.sfbay.sun.com/export/awt/awt_ws/Headless/BAT

      Steps to reproduce:

      1. Set JAVA_HOME
      2. run gnumake clean
      3. run gnumake compile, it throws the exception mentioned above.





            mpalecznsunw Michael Paleczny (Inactive)
            asamjisunw Aruna Samji (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: