Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 10:26:27 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        YiaNan <yianan@gamebase.com.tw>
Cc:        freebsd-java@freebsd.org
Subject:   Re: about JVM error
Message-ID:  <43608123.4070901@ebs.gr>
In-Reply-To: <000801c5daba$7b561b20$69e218ac@citegroup.corp>
References:  <000801c5daba$7b561b20$69e218ac@citegroup.corp>

next in thread | previous in thread | raw e-mail | index | archive | help
YiaNan wrote:
> Resin 2.1.16 (built Tue Feb 15 11:12:27 PST 2005)
> Copyright(c) 1998-2003 Caucho Technology.  All rights reserved.
> 
> Starting Resin on Wed, 26 Oct 2005 19:22:31 +0800 (CST)
> [2005-10-26 19:22:32.477] initializing application http://nol.gamebase.com.tw/
> 2005-10-26 19:22:32:null  hds is up
> 2005-10-26 19:22:32:null  /home/conf/config.conf
> [2005-10-26 19:22:32.571] initializing application http://wow.gamebase.com.tw/
> 2005-10-26 19:22:32:null  hds is up
> 2005-10-26 19:22:32:null  /home/conf/config.conf
> [2005-10-26 19:22:32.614] initializing application http://www.wowbase.com.tw/
> 2005-10-26 19:22:32:null  hds is up
> 2005-10-26 19:22:32:null  /home/conf/config.conf
> [2005-10-26 19:22:32.636] initializing application http://localhost/
> srun listening to 127.0.0.1:6802
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> 
> Unexpected Signal : 11 occurred at PC=0x28372994
> Function=allocate_permanent__C13instanceKlassR11KlassHandleiP6Thread+0x30
> Library=/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
> 
> Current Java thread:
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
>         at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:654)
>         at com.caucho.util.DynamicClassLoader.findClass(DynamicClassLoader.java:573)
>         - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader)
>         at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:518)
>         - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>         - locked <0x3dce4300> (a com.caucho.util.SimpleClassLoader)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:219)
>         at com.caucho.util.CauchoSystem.loadClass(CauchoSystem.java:395)
>         at com.caucho.jsp.JspManager.preloadIsValid(JspManager.java:210)
>         at com.caucho.jsp.JspManager.createPage(JspManager.java:147)
>         at com.caucho.jsp.PageManager.getPage(PageManager.java:351)
>         - locked <0x3dce3ff8> (a com.caucho.jsp.PageManager$Entry)
>         at com.caucho.jsp.PageManager.getPage(PageManager.java:196)
>         at com.caucho.jsp.QServlet.getPage(QServlet.java:220)
>         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:129)
>         at com.caucho.server.http.Invocation.service(Invocation.java:315)
>         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346)
>         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
>         at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
>         at java.lang.Thread.run(Thread.java:534)
> 
> Dynamic libraries:
> 0x8048000       /usr/local/jdk1.4.2/bin/java
> 0x2806d000      /usr/lib/libc_r.so.4
> 0x2812a000      /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
> 0x28677000      /usr/lib/libstdc++.so.3
> 0x286be000      /usr/lib/libm.so.2
> 0x286db000      /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
> 0x286e9000      /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
> 0x28704000      /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
> 0x28725000      /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
> 0x710d2000      /usr/local/jdk1.4.2/jre/lib/i386/libnet.so
> 0x2804e000      /usr/libexec/ld-elf.so.1
> 
> Heap at VM Abort:
> Heap
>  def new generation   total 184320K, used 47K [0x2c4c0000, 0x38cc0000, 0x38cc0000)
>   eden space 163840K,   0% used [0x2c4c0000, 0x2c4cbff0, 0x364c0000)
>   from space 20480K,   0% used [0x378c0000, 0x378c0000, 0x38cc0000)
>   to   space 20480K,   0% used [0x364c0000, 0x364c0000, 0x378c0000)
>  tenured generation   total 581632K, used 82131K [0x38cc0000, 0x5c4c0000, 0x6c4c0000)
>    the space 581632K,  14% used [0x38cc0000, 0x3dcf4ea8, 0x3dcf5000, 0x5c4c0000)
>  compacting perm gen  total 65536K, used 65535K [0x6c4c0000, 0x704c0000, 0x704c0000)
>    the space 65536K,  99% used [0x6c4c0000, 0x704bff60, 0x704c0000, 0x704c0000)
> 
> Local Time = Wed Oct 26 23:08:19 2005
> Elapsed Time = 14207
> #
> # HotSpot Virtual Machine Error : 11
> # Error ID : 4F530E43505002F1
> # Please report this error to
> # freebsd-java@FreeBSD.org mailing list
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_22_sep_2004_20_08 mixed mode)
> #
> # An error report file has been saved as hs_err_pid16940.log.
> # Please refer to the file for further information.
> #
> ==================================================================
> plz teach me how to do,thanks a lot..

You are running out of memory, as you can see from the messages 
displayed by Resin. I'd suggest to start the jvm with as much heap size 
as you can give it (say, 80% of your physical memory) and use the 
-server option, too.


Cheers,

Panagiotis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43608123.4070901>