In Windows, the installer define Initial memory pool: 128 MB and Maximum memory 
pool: 256 MB, the configuration is available in the Tomcat8w gui app.
I see the same on Tomcat 8 and 9.


-----Original Message-----
From: Christopher Schultz <ch...@christopherschultz.net>
Sent: jueves, 20 de abril de 2023 09:21 a. m.
To: users@tomcat.apache.org
Subject: Re: Java Heap Space Error

Pratik,

On 4/20/23 03:35, pratik.kulka...@shell.com.INVALID wrote:
> I guess you're right, Tomcat 9 allocates less default memory compared
> to Tomcat 8; I checked our logs and below are the memory parameters
> which seem to be passed in,
>
> Tomcat 9 -
>
> 14-Apr-2023 02:47:55.567 INFO [main]
> org.apache.catalina.startup.VersionLoggerListener.log Command line
> argument: -Xms128m
> 14-Apr-2023 02:47:55.567 INFO [main]
> org.apache.catalina.startup.VersionLoggerListener.log Command line
> argument: -Xmx256m
>
> Tomcat 8 -
>
> 13-Apr-2023 06:10:01.520 INFO [main]
> org.apache.catalina.startup.VersionLoggerListener.log Command line
> argument: -Xms512m
> 13-Apr-2023 06:10:01.520 INFO [main]
> org.apache.catalina.startup.VersionLoggerListener.log Command line
> argument: -Xmx1024m
>
> Like you suggested, I updated the configuration using Tomcat9w.exe since we 
> are running Tomcat as a service and it is now working without any errors! I 
> updated the sizes from 128MB and 256MB to 512MB and 1024MB respectively for 
> max and min pool sizes.
>
> Thank you very much everyone for your help, I truly appreciate it. I believe 
> we can mark this thread as solved.

I don't believe Tomcat comes with any default at all. Whatever you are seeing 
there probably came from a local setup that you (or someone else
local) did.

Glad you got things working again.

-chris

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



The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited. If you received this in error, please contact 
the sender and delete the material from any computer.
La información transmitida está destinada únicamente a la persona o entidad a 
quien que va dirigida y puede contener información confidencial y/o material 
privilegiado. Cualquier revisión, retransmisión, difusión u otros usos, o 
cualquier acción tomada por personas o entidades distintas al destinatario 
basándose en esta información está prohibida. Si usted recibe este mensaje por 
error, por favor contacte al remitente y elimine el material de cualquier 
computadora.

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

Reply via email to