Petsku01 opened a new pull request, #877: URL: https://github.com/apache/tomcat/pull/877
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). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org