tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JacquiYan <girl_yan...@hotmail.com>
Subject Re: tomcat5.1 out of memory for swap space not released!
Date Tue, 25 Sep 2007 07:45:25 GMT

Dear  Rainer

The memory properties are below.

xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx 
Physical Memory:         4097.7 MB                                xx x  
  xx xxReal Memory:                                                      xx
x  
  xx xx  Active:                381082.7 KB                              xx
x  
  xx xx  Total:                 405445.6 KB                              xx
x  
  xx xxVirtual Memory:                                                   xx
x  
  xx xx  Active:                2973307.5 KB                             xx
x  
  xx xx  Total:                 3074865.0 KB                             xx
x  
  xx xxFree Memory Pages:       490468 at 4 KB/page                      xx
x  
  xx xxSwap Space:                                                       xx
x  
  xx xx  Avail:                 8192 MB                                  xx
x  
  xx xx  Used:                  1309 MB                                 
xxvx  
  xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx
xx xx xx 

There are not other big memory consumers.The tomcat5.0.28 consumed more and
more swap space but not released it!It is the deadly reason!


Rainer Jung-3 wrote:
> 
> You configured your JVM to use 1GB of memory plus 800MB for perm space. 
> This only makes sense, if your machine has that much memory. As far as I 
> know, perm adds to the heap. You system has 4 GB of memory. Are there 
> other big memory consumers there? Can you check the size of the process?
> 
> Regards,
> 
> Rainer
> 
>> I am a Chinese and English is not well,but I will try my best to
>> express myself.I have HP-UX operation system with JDK1.5 and
>> sybase.But after tomcat5.0 running for some times ,it would out of
>> memory.The tomcat5.0 process continuously allocated swap space but
>> not released it.So when swap space was insufficient,tomcat out of
>> memory and shutdown!Below is some
>> information:=============================================================================================tomcat
>> startup script parameters: JAVA_OPTS="-Xms1001m -Xmx1001m
>> -XX:MaxPermSize=800m
>> -Dfile.encoding=GBK"=============================================================================================out
>> of memory log in cataline.out:2007-08-29 17:38:07.283
>> (Pagination.java:68)] DEBUG - render Id = pagination  Exception
>> java.lang.OutOfMemoryError: requested 74856 bytes for GrET* in
>> /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/growableArray.cpp.
>> Out of swap space?Possible causes:    - not enough swap space left ,
>> or    - kernel parameter MAXDSIZ is very small. Out of memory while
>> reading in symbol table of
>> /opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl( 0)  0xc5c88264
>> [/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl]( 1)  0xc5c241d0
>> [/opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl]=============================================================================================Hp
>> Unix Server hardware information
>> :CPU:1GHz*2;memory:4G;=============================================================================================Please
>> give me an idea in this situation! And please help me make tomcat
>> process release swap space?yanyan 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/tomcat5.1-out-of-memory-for-swap-space-not-released%21-tf4513476.html#a12874655
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message