Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2286

Add the -XX:MaxPermSize definition to the Windows Service installer

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.4.2
    • None
    • None

      Currently, the .sh and .bat scripts that start Crowd define -XX:MaxPermSize=256m, however, when installing Crowd as a Windows Service, the property value is not defined.

            [CWD-2286] Add the -XX:MaxPermSize definition to the Windows Service installer

            Hi,

            I installed Crowd as a service and it froze after some interaction.
            Increasing XX:MaxPermSize to 256m fixed the issue.

            Please address this issue as this is quite unpredictable.
            At least please add the instruction to the manual;
            http://confluence.atlassian.com/display/CROWD/Installing+Crowd+as+a+Windows+Service
            The manual only mentions when the JVM is running other applications, but not when Crowd is installed separately.

            Masahiro Iwao added a comment - Hi, I installed Crowd as a service and it froze after some interaction. Increasing XX:MaxPermSize to 256m fixed the issue. Please address this issue as this is quite unpredictable. At least please add the instruction to the manual; http://confluence.atlassian.com/display/CROWD/Installing+Crowd+as+a+Windows+Service The manual only mentions when the JVM is running other applications, but not when Crowd is installed separately.

            joe added a comment - - edited

            This can be set after following Installing Crowd as a Windows Service:

            bin\tomcat6.exe //US//Crowd ++JvmOptions "-XX:MaxPermSize=256m"
            

            service.bat is part of Tomcat. It will be simpler to update the documentation to include this step than to distribute a modified file.

            joe added a comment - - edited This can be set after following Installing Crowd as a Windows Service : bin\tomcat6.exe //US//Crowd ++JvmOptions "-XX:MaxPermSize=256m" service.bat is part of Tomcat. It will be simpler to update the documentation to include this step than to distribute a modified file.

            it's a pain for our Windows customer, re-prioritizing this

            Roy Hartono [Atlassian] added a comment - it's a pain for our Windows customer, re-prioritizing this

            Peggy added a comment -

            Fix for JIRA was to set the permgen size in a separate line
            see: http://drumcoder.co.uk/blog/2011/jan/12/maxpermsize-tomcat-windows-service/

            Peggy added a comment - Fix for JIRA was to set the permgen size in a separate line see: http://drumcoder.co.uk/blog/2011/jan/12/maxpermsize-tomcat-windows-service/

            Peggy added a comment -

            Could be related to bumping Tomcat from 6.0.20 to 6.0.32 - same problem happening in JIRA (permgen flag lost when running as a service)

            Peggy added a comment - Could be related to bumping Tomcat from 6.0.20 to 6.0.32 - same problem happening in JIRA (permgen flag lost when running as a service)

              jwalton joe
              rbattaglin Renan Battaglin
              Affected customers:
              1 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: