You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/04/02 07:27:58 UTC

[jira] Closed: (CONTINUUM-1597) Invalid java memory usage directive in standalone bin/plexus.bat

     [ http://jira.codehaus.org/browse/CONTINUUM-1597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed CONTINUUM-1597.
-----------------------------------

    Resolution: Won't Fix

superceded by new Jetty runtime bundle

> Invalid java memory usage directive in standalone bin/plexus.bat
> ----------------------------------------------------------------
>
>                 Key: CONTINUUM-1597
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1597
>             Project: Continuum
>          Issue Type: Bug
>          Components: Environmental
>    Affects Versions: 1.1
>         Environment: Windows
>            Reporter: Roger H. Jörg
>
> 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"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira