Marius van Voorden created OPENMEETINGS-569:
-----------------------------------------------
Summary: Faulty highperf settings in bat script
Key: OPENMEETINGS-569
URL: https://issues.apache.org/jira/browse/OPENMEETINGS-569
Project: Openmeetings
Issue Type: Bug
Affects Versions: 2.0 Apache Incubator Release, 2.1 Apache Release
Environment: Windows
Reporter: Marius van Voorden
Priority: Minor
Fix For: 2.0 Apache Incubator Release, 2.1 Apache Release
The current red5-highperf.bat has the following java options:
set JAVA_OPTS= -Xmx768m -Xms256 -Xmn512m -Xss256k -XX:+AggressiveOpts
-XX:+DisableExplicitGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90
-XX:MaxTenuringThreshold=31 -Djava.net.preferIPv4Stack=true
There are two issues:
Xms256 is missing an "m"
Xms needs to be larger than or equal to Xmn
Suggested fix:
set JAVA_OPTS= -Xmx768m -Xms512m -Xmn512m -Xss256k -XX:+AggressiveOpts
-XX:+DisableExplicitGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90
-XX:MaxTenuringThreshold=31 -Djava.net.preferIPv4Stack=true
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira