I would also add that an OutOfMemory doesn't always mean heap.

try increasing your PermSpaceSize:
-XX:MaxPermSize=256m
if you have many classes and jsps it can be your problem.

regards
leon


On 10/8/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: Daniel Blumenthal [mailto:[EMAIL PROTECTED]
> Subject: RE: Java heap space
>
> It's more that I wonder if I should bump the number up to
> -Xmx2048m.

Too big for 32-bit Windows (or most other 32-bit OS implementations),
but is o.k. for 64-bit.

> Is there a reason to choose 256m?

Not particularly.  Whoever suggested that was just taking a stab in the
dark.  256m is pretty small these days.

> What is the default?  The maximum?

Depends on the platform (Windows, Solaris, Linux, ??; IA32, IA64, Sparc,
???), and whether you're using the -server or -client options.  Provide
your specifics, and I'll look it up.

 - 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 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