Chris,

That’s a very good point, and that is something we will do.

Regards,

William Crowell

From: Christopher Schultz <ch...@christopherschultz.net>
Date: Tuesday, March 25, 2025 at 7:16 AM
To: users@tomcat.apache.org <users@tomcat.apache.org>
Subject: Re: [OT] NIO Thread Madness
William,

On 3/24/25 2:56 PM, William Crowell wrote:
> I am running Apache Tomcat 9.0.97 on Windows Server 2022.  I’m running Oracle 
> JDK 1.8.0_371-b11 with a 4GB min heap and a 16GB max heap.

Might I suggest that you stick with both min and max heap sizes set to
16GiB? If you expect to run for a long time, you should expect to use
that 16GiB heap. If you are going to use it, you may as well allocate it
all during startup and use it, rather than re-sizing the heap as you go.

Re-sizing the heap is very expensive, so you should probably avoid it.

-chris


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



CAUTION: This email originated from outside of the organization. Do not click 
on links or open attachments unless you recognize the sender and know the 
content is safe.


This e-mail may contain information that is privileged or confidential. If you 
are not the intended recipient, please delete the e-mail and any attachments 
and notify us immediately.

Reply via email to