tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Giammarini" <rgiammar...@sda.com.ar>
Subject Re: Memory alloc on tomcat 4.0.4
Date Tue, 13 Aug 2002 15:03:37 GMT
Hi
The output I pasted is a output of the "top" command on Linux. If you are
asking why I have so many   threads the answer is I don't know! I think that
are threads between tomcat and apache that are never  closed.


RG


----- Original Message -----
From: "Shapira, Yoav" <Yoav.Shapira@mpi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 13, 2002 10:10 AM
Subject: RE: Memory alloc on tomcat 4.0.4


Hi,

>Hi,  Is possible to limit the amount of memory taken by each java
thread?

You can control the amount allocated to the VM.  It will be shared by
all the threads used by that VM.  You would do this using the -Xmx
runtime option.  Type java -X to see all these types of options.

>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 5150 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:05 java
> 5151 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5152 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:05 java
> 5153 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5154 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5155 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5156 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5157 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5158 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:04 java
> 5160 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5161 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5162 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5163 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5164 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5165 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5166 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5167 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java
> 5168 geodem     9   0 56888  49M 26560 S     0.0 39.7   0:00 java

What tomcat configuration, if I might ask, produced the above output?

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message