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

JIT out of memory compiling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.1.6, 1.1.7, 1.2.0, 1.2.1
    • vm-legacy
    • generic, x86
    • generic, windows_98, windows_nt



      Name: gsC80088 Date: 01/19/99


      1. After successfully compiling the same code about 20 times the compiler decides it has insufficient memory to do another compile.
      This is a large 100%IDL/CORBA/Visibroker-ORB/100%Java project of about 40000 lines of code/300 classes. Its a distributed
      client-server application that functions as the backbone for a major artificial intelligence information highway with OO database
      and CORBA CosNaming and CosTransaction service interfaces.

      We compile using visibrokers (idl2java and vbjc compilers) and Poet's ptjavac compiler. vbjc and ptjavac wrapper javac so its
      impossible for us to determine where the memory leak is. We never have any runtime problems, only compile time problems.
      Most of the time we don't get any messages from the operating system - I run a visibroker NameService tool called osfind and i
      ts unusual lack of information is just sufficient to let me know our network connections are hosed and a system reboot is required
      to clear the problem. Currently this is happening to us about twice-a-day when our compiler workload is heavy.

      On occassion the compiler does sneak in a message such as the following before the system quits in the middle of a compile
      complains about low memory. The message follows:

      ***BEGIN PASTED MESSAGE***
      R:\users\jeffj\JavaSafe_Repository\Sepa\Test>vbjc -classpath sepa\server\framewo
      rk;.;%CLASSPATH% sepa\server\framework\ProjectServerImpl.java
      JIT out of memory compiling sun/tools/javac/SourceClass.addField (Lsun/tools/jav
      a/Environment;Lsun/tools/java/FieldDefinition;)V
      JIT out of memory compiling sun/tools/java/Parser.parseStatement ()Lsun/tools/tr
      ee/Statement;
      JIT out of memory compiling sun/tools/java/Parser.parseBinaryExpression (Lsun/to
      ols/tree/Expression;)Lsun/tools/tree/Expression;
      JIT out of memory compiling sun/tools/java/Imports.resolve (Lsun/tools/java/Envi
      ronment;)V
      JIT out of memory compiling java/util/Properties.load (Ljava/io/InputStream;)V
      JIT out of memory compiling java/text/MessageFormat.format ([Ljava/lang/Object;L
      java/lang/StringBuffer;Ljava/text/FieldPosition;I)Ljava/lang/StringBuffer;
      JIT out of memory compiling java/util/TimeZone.clone ()Ljava/lang/Object;
      JIT out of memory compiling java/util/ListResourceBundle.loadLookup ()V
      JIT out of memory compiling java/util/GregorianCalendar.computeFields ()V
      JIT out of memory compiling java/util/Calendar.internalSet (II)V
      JIT out of memory initializing java/io/DataInput
      JIT out of memory initializing sun/tools/java/BinaryField
      A nonfatal internal JIT (3.00.072b(x)) error 'reloc' has occurred in :
        'sun/tools/java/Identifier.getQualifier ()Lsun/tools/java/Identifier;': Interp
      reting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      A nonfatal internal JIT (3.00.072b(x)) error 'reloc' has occurred in :
        'sun/tools/java/Identifier.getTopName ()Lsun/tools/java/Identifier;': Interpre
      ting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      A nonfatal internal JIT (3.00.072b(x)) error 'reloc' has occurred in :
        'java/util/Vector.elements ()Ljava/util/Enumeration;': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      A nonfatal internal JIT (3.00.072b(x)) error 'reloc' has occurred in :
        'sun/tools/java/Identifier.lookup (Lsun/tools/java/Identifier;Lsun/tools/java/
      Identifier;)Lsun/tools/java/Identifier;': Interpreting method.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i

      ***end pasted message***

      The error message above is meaningless as it is something different every time we capture it. Seems to just depend on where in the
      compilation process we are when the low memory message is issued.

      We are always able to close everything down each time it occurs but any attempt to do anything, bring up a browser, open
      notepad, etc. results in the low memory warning - unable to complete the request; and it doesn't matter if I just shutdown several
      apps releasing more memory than the new request requires. The operating system is unable to recover without a reboot.

      I believe its either a compiler memory leak or a network connection (possibly network resource) related issue.
      Appreciate any ideas you can give us to help troubleshoot, thanks.

      Jeff Junior
      University of Texas at Austin
      ###@###.###
      (512) 471-5350
      (Review ID: 52692)
      ======================================================================

      Name: krT82822 Date: 07/08/99


      Installed cloudscape from www.cloudscape.com,
      ran cloudview (lots of Swing GUI components).
      Menus in the menubar worked normally for a few
      minutes and a few invocations, then stopped working;
      after that, clicking on a menu item would highlight
      the word, but the menu would not drop down.

      C:\java\cloudscape\bin>c:\java\jdk\bin\java -classpath C:\java\cloudscape\lib\cl
      ient.jar;C:\java\cloudscape\lib\tools.jar;C:\java\cloudscape\lib\cloudscape.jar;
      ;C:\java\cloudscape\lib\license.jar; -ms32M -mx32M COM.cloudscape.tools.cview
      A nonfatal internal JIT (3.00.078(x)) error 'reloc' has occurred in :
        'javax/swing/JLayeredPane.getLayer (Ljava/awt/Component;)I': Interpreting meth
      od.
        Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
      i
      (Review ID: 85386)
      ======================================================================

            Unassigned Unassigned
            gstone Greg Stone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: