Skip to content

Update RUNNING.txt #877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update RUNNING.txt #877

wants to merge 1 commit into from

Conversation

Petsku01
Copy link

Description:
This PR adds a new subsection (3.5) to RUNNING.txt under "(3.4) Using the setenv script" to provide platform-specific examples for configuring JVM memory options using CATALINA_OPTS. The example shows how to set initial and maximum heap sizes (-Xms512m -Xmx2048m) for Windows and *nix systems, with a note about system resource considerations. This improves setup clarity for users, especially in production environments, aligning with Tomcat’s goal of supporting mission-critical applications.

Changes:

  • Added subsection (3.5) to webapps/docs/RUNNING.txt with CATALINA_OPTS memory configuration example.

Testing:

  • Verified formatting in RUNNING.txt for consistency with existing style (plain text, no tabs).
  • Confirmed the new section renders correctly in the docs webapp at http://localhost:8080/docs/RUNNING.txt.
  • Tested the example setenv scripts to ensure Tomcat starts with the specified JVM options.

Related Issues:

  • No specific Bugzilla issue, but addresses common user questions about memory configuration (seen in tomcat-users mailing list).

Title: 
Add JVM memory configuration example for CATALINA_OPTS in RUNNING.txt

Description:
This PR adds a new subsection (3.5) to `RUNNING.txt` under "(3.4) Using the setenv script" to provide platform-specific examples for configuring JVM memory options using `CATALINA_OPTS`. The examples show how to set initial and maximum heap sizes (-Xms512m -Xmx2048m) for Windows and *nix systems, with a note about system resource considerations. This improves setup clarity for users, especially in production environments, aligning with Tomcat’s goal of supporting mission-critical applications.

Changes:
- Added subsection (3.5) to `webapps/docs/RUNNING.txt` with `CATALINA_OPTS` memory configuration examples.

Testing:
- Verified formatting in `RUNNING.txt` for consistency with existing style (plain text, no tabs).
- Confirmed the new section renders correctly in the docs webapp at http://localhost:8080/docs/RUNNING.txt.
- Tested the example `setenv` scripts to ensure Tomcat starts with the specified JVM options.

Related Issues:
- No specific Bugzilla issue, but addresses common user questions about memory configuration (seen in tomcat-users mailing list).
@ChristopherSchultz
Copy link
Contributor

Is there evidence that downstream users don't know how to set their JVM settings, or that heap settings are particularly worthy of documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants