You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2025/03/25 11:15:51 UTC
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: [OT] NIO Thread Madness
Posted by William Crowell <WC...@perforce.com.INVALID>.
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 <us...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@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.