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

JVM givess error: Exception in thread "CompileThread0" java.lang.OutOfMemoryErro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.1_01
    • hotspot
    • None
    • generic
    • solaris_2.4

      when running application on NT machine with flags -Xbatch
      -XX:+PrintCompilation. The exact error message on the console is :
      Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested
      201326600 bytes

      Please note that currently I can only produce this problem on NT. Also note
      that there is no core dump file, since this a handled exception and not a
      crash. The output file listing the compiled methods is attached to the
      message.

      Tried setting the maximum permenant generation size (-XX:MaxPermSize)
      at 100M, but the problem still occurred at the same place with the same
      output.

      With the -Xcomp,
      could not display any jsp pages. The VM compiled a number of methods as
      the output file shows, however, it stops doing that after a certain
      point of time and does not respond to user requests any more. The VM
      keeps running but the output file is no longer updated and the user gets
      no output back from the jsp page.

      This is the command line used to start the VM on NT:
      d:\jdk1.3.1\jre\bin\java -server -Xcomp -Xbatch -XX:+PrintCompilation
      -Xms1000m -Xmx1000m -Djbo.debugoutput=silent org.apache.jserv.JServ
      d:\ORANT\Apache\Jserv\conf\jserv.properties 1> irec.out

      The file is located at;
      /net/harri/export/jle/build/licensees/Oracle/Irec.zip

            mearagolsunw Murali Earagolla (Inactive)
            mthakore Mayank Thakore (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: