tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bonevich <bonev...@telocity.com>
Subject Re: Memory usage
Date Tue, 09 Apr 2002 22:14:51 GMT
Pretty normal, yes.  You can affect that number using command line 
directives:

$ java -Xms64m -Xmx128m blah

where -Xms specifies the intial heap size, and -Xmx specifies the max. 
You would have to alter the startup script to make this effective. 
Typically you only want to use -Xms if you *know* you will exceed the 
default initial heap size (no clue what that is, arch dependent); and 
you only really use -Xmx if you want to impose a more arbitrary upper 
limit (i.e. "please do not use up all resources on my server before 
crashing and burning....").

jeff


Yaogeng Cheng wrote:

> Jeff:
> 
> Thanks for the replying. The total memory usage of Apache and tomcat is
> 14464k. Is that normal?
> 
> 
> Thanks a lot!
> 
> 
> Yaogeng
> 
> -----Original Message-----
> From: Jeffrey Bonevich [mailto:bonevich@telocity.com] 
> Sent: Monday, April 08, 2002 6:55 PM
> To: Tomcat Users List
> Subject: Re: Memory usage
> 
> 
> Yaogeng -
> 
> That is normal for any java application running on Linux.  Just java 
> native threads showing up as multiple processes, but its actually mostly 
> shared memory. Do a 'top' to confirm.
> 
> jeff
> 
> Yaogeng Cheng wrote:
> 
> 
>>Hi:
>> 
>>I am using TomCat version 3.2.1 in Linux, and I found there are a lot 
>>of java apps running after I started the tomcat. They used a lot of 
>>memory. Does newer version TomCat use much less memory than 3.2.1. If 
>>there is, which version should I use?
>> 
>>Thanks,
>> 
>>Yaogeng
>>
>>
>>
> 
> 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
bonevich@telocity.com
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,       prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message