Howdy,
150MB is definitely not a roof for the JVM.  We have several production
machines running heaps with > 1GB allocated.  They're well tuned, GC
shows no discernible pauses even during high usage, and they effectively
use numerous processors.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Daniel Williams [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, January 07, 2004 2:04 PM
>To: Tomcat Users List
>Subject: Re: Tomcat maximum heap size on Linux
>
>It's not a system roof, we use around 200Mb on average and under high
>load we use around 700Mb with maximum heap set to 900Mb.
>Also it's not tomcat using the RAM but the JVM, and yes the jvm can use
>a gig of ram and even more.
>
>One more thing, use this jsp code to monitor the JVM's heap usage.
>
><%@ page language="java" %>
><%@ page session="false" %>
><%
>        long free = java.lang.Runtime.getRuntime().freeMemory();
>        long total = java.lang.Runtime.getRuntime().totalMemory();
>        long availableProc =
>java.lang.Runtime.getRuntime().availableProcessors();
>        long threadCount = java.lang.Thread.activeCount();
>        long used = total - free;
>        out.print(total + "," + used);
>%>
>
>
>Thanks
>Daniel
>
>Mindaugas Genutis wrote:
>
>>I expect to use it a few hundred Megabytes. It was quickly increasing
in
>>my eyes and stopped on 150Mb. Looks like its the system roof. Could it
be
>>so?
>>
>>
>>
>>>Howdy,
>>>If it doesn't need more than 150MB, it won't use more than 150MB...
Are
>>>you blindly playing around with heap numbers, or did you actually
>>>determine 1GB was required to handle your max expected load?
>>>
>>>Yoav Shapira
>>>Millennium ChemInformatics
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Mindaugas Genutis [mailto:[EMAIL PROTECTED]
>>>>Sent: Wednesday, January 07, 2004 2:37 PM
>>>>To: Tomcat Users List
>>>>Subject: Tomcat maximum heap size on Linux
>>>>
>>>>
>>>>I wanted to increase Tomcat's maximum heap size. I did it by putting
>>>>
>>>>
>>>the
>>>
>>>
>>>>following string in the catalina.sh file (I'm running RedHat Linux):
>>>>
>>>>CATALINA_OPTS="-Djava.awt.headless=true -Xmx1024m"
>>>>
>>>>So, Tomcat can use 1Gb of my RAM.
>>>>
>>>>However, I'm observing Tomcat's usage with "top" under Linux and it
>>>>
>>>>
>>>stops
>>>
>>>
>>>>growing at 150Mb.
>>>>
>>>>Looks like this option doesn't work. Where else could I increase it?
>>>>
>>>>I'm using JDK 1.4.2, Tomcat 4.1.24
>>>>
>>>>--
>>>>Kaunas Regional Distance Education Center
>>>>Programmer
>>>>Phone: +370 674 05232
>>>>WWW: http://distance.ktu.lt
>>>>
>>>>
>>>>
>>>>--------------------------------------------------------------------
-
>>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
>>>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>>
>>
>>



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to