tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniele Development-ML <daniele....@googlemail.com>
Subject Re: Increasing Heap Size and Max Perm Size
Date Wed, 19 Aug 2009 10:43:20 GMT
Forgot to mention that when I try with the following command:
java -Xms512m -Xmx750m

it does succeed in creating the JVM - differently (but obviously), if I try:

java -Xms512m -Xmx6750m

it fails (as expected).

I don't understand why I get different behaviour passing this option the JVM
when starting Tomcat, and when I give directly to the JVM - I have tried
this also with a simple Java main class that instantiates big arrays.

Any hit/suggestions are very welcomed.

Dan



On Wed, Aug 19, 2009 at 11:05 AM, Daniele Development-ML <
daniele.dml@googlemail.com> wrote:

> The JVM actually recognises that the value being set/asked for is 100 as
> when I shut it down, I get a message saying that a JVM with the specified
> 100m of memory cannot be created.
>
> On Tue, Aug 18, 2009 at 11:48 PM, André Warnier <aw@ice-sa.com> wrote:
>
>> Daniele Development-ML wrote:
>>
>>> Hi all,
>>>
>>> I'm trying to increase the sizes of the heap and of the max perm by
>>> passing
>>> the options with the values (in catalina.sh)
>>>
>>> JAVA_OPTS="$JAVA_OPTS -Xmx=100m -XX:MaxPermSize=350m
>>> -Dfile.encoding=UTF-8"
>>>
>>>  Try without the "=" signs ? -Xmx100m
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message