Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-1597

Invalid java memory usage directive in standalone bin/plexus.bat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1
    • None
    • Environmental
    • None
    • Windows

    Description

      Line 109 of the plexus.bat file in the standalone distribution reads:

      if "%PLEXUS_OPTS%"=="" SET PLEXUS_OPTS="-Xmx384"

      As documented at "http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html", the number given to the above directive specifies the maximum size, in bytes, of the memory allocation pool. The directive allows "k" or "m" as a suffix to specify the size in kilobytes or megabytes.

      As far as I know, 384 bytes are just a little bit tight.

      I think, the intention was to specify 384 Megabytes, so the line should read:

      if "%PLEXUS_OPTS%"=="" SET PLEXUS_OPTS="-Xmx384m"

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhjoerg Roger H. Jörg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: