> From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
> Subject: Re: Tomcat 6 and Windows 2003 -Xmx1024 Problem
> 
> Something else on your OS is using more RAM that it was previously.

You're confusing RAM and virtual space - decidedly different entities.

> The JVM will only start if it can reserve a contiguous block of RAM as
> large as you request.

Not true; the JVM cares little about the installed RAM.  The heap (including 
PermGen) must fit into a  contiguous area of process virtual space; it can be 
scattered all over RAM, due to paging.

> I'd be rather surprised if you needed to go all the way down to 512
> before it would start, however.

That part is true.

> See what else is using memory on the server.

The problem is not what else is using memory on the server, but what is 
consuming virtual space within the Tomcat process.

The problem can also occur if the swap file is too small to hold all process 
spaces, but this would usually manifest itself in multiple processes failing to 
start.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to