Thanks Chris,

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.

Kind regards,
Pratik Kulkarni

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

Reply via email to