JDK-4504200 : JVM givess error: Exception in thread "CompileThread0" java.lang.OutOfMemoryErro
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.3.1_01
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.4
  • CPU: generic
  • Submitted: 2001-09-18
  • Updated: 2002-05-07
  • Resolved: 2001-09-20
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
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

Comments
EVALUATION Looks like a dupe of 4484290 ###@###.### 2001-09-18 Closing this as a duplicate of 4484290, the fix for 4484290 has already been integrated into 1.3.1_02 release ###@###.### 2001-09-20
18-09-2001