[MAGNOLIA-617] Memory Settings in tomcat startup scripts are wrong Created: 11/Jan/06  Updated: 23/Jan/13  Resolved: 17/May/06

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 2.1.3
Fix Version/s: 3.0 RC1

Type: Bug Priority: Major
Reporter: Ralf Hirning Assignee: Boris Kraft
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 10m
Time Spent: Not Specified
Original Estimate: 10m
Environment:

Windows NT and Unix, Magnolia bundled with tomcat


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

In the tomcat startup scripts of the bundled version (startup.bat and startup.sh) the java options to set the java heap size parameters are wrong. This often leads to OutOfMemory-Exception on bootstrap
Instead of

set CATALINA_OPTS=%CATALINA_OPTS% -ms64M -mx512M

it should be

set CATALINA_OPTS=%CATALINA_OPTS% -Xms64M -Xmx512M


Generated at Mon Feb 12 03:19:12 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.