Uploaded image for project: 'Openmeetings'
  1. Openmeetings
  2. OPENMEETINGS-569

Faulty highperf settings in bat script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0 Apache Incubator Release, 2.1.0 Apache Release
    • 2.1.0 Apache Release
    • None
    • None
    • Windows

    Description

      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

      Attachments

        1. OPENMEETINGS-569.patch
          2 kB
          Marius van Voorden

        Activity

          People

            solomax Maxim Solodovnik
            mqrius Marius van Voorden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: