Christopher,

unfortunately google is not your friend in this case and the document
seems outdated :-)

http://java.sun.com/docs/hotspot/gc5.0/ergo5.html

n the J2SE platform version 5.0 a class of machine referred to as a
server-class machine has been defined as a machine with
     2 or more physical processors
     2 or more Gbytes of physical memory

On server-class machines by default the following are selected.
     Throughput garbage collector
     Heap sizes:

     initial heap size of 1/64 of physical memory up to 1Gbyte
     maximum heap size of ΒΌ of physical memory up to 1Gbyte
     Server runtime compiler

the 1GB limit fits Alan's MaxMemory of 913.37 MB

regards
Leon

On 10/13/06, Christopher Schultz <[EMAIL PROTECTED]> wrote:
Leon,

> The default memory values depends on your machine (processor speed and
> count, total amount of memory) and are guessed by the vm (if not
> explicitely specified) upon application start.
> Times of 64Mb max memory are long over now.

Really? Seems like 32-bit Sun JVM on Sparc has exactly 64MB max value by
default:

http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total%20Heap%7Coutline

...or are we on a higher version of the GC by now?

Alan, what happens if you explicitly set your -Xms and -Xmx values? Does
the VM listen to you? Are you calling startup.sh or catalina.sh directly
when you start up Tomcat, or do you use any other kind of scripting
(like ant) or have you installed it as a service (/etc/init.d/tomcat or
whatever)? If some other process is starting Tomcat for you, then you
can't trust what your bash environment is telling you.

-chris

>
> regards
> Leon
>
> On 10/13/06, Alan Flisch <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I was having some problems with perm gen space on one of our tomcat
>> instances and decided to increase the perm gen size and review the
>> JAVA_OPTS settings in general when I noticed something curious.  No
>> settings are currently made so its just running with default values, but
>> the manager status page shows the following...
>>
>> >Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB
>>
>> That max memory figure in particular looks like a pretty strange
>> default!  I thought  the default was 64m.
>>
>> The installation details are as follows...
>> Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc
>> The system has 16G of RAM.
>>
>> Has anybody any thoughts?
>>
>> Regards,
>> Alan
>>
>>
>> 
****************************************************************************************************************************************************
>>
>> This e-mail and any accompanying documents contain confidential
>> information intended for a specific individual which is private and
>> protected by law.
>> If you are not the intended recipient, any disclosure, copying,
>> distribution or other use of this information is strictly prohibited.
>> You are also requested to advise us immediately if you receive
>> information which is not addressed to you.
>> beCogent is Authorised and Regulated by the Financial Services Authority.
>> 
*****************************************************************************************************************************************************
>>
>>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>





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

Reply via email to