Just install JIRA from exe installer (next, next) and the application will crash on the setup page with

      java.lang.OutOfMemoryError: PermGen space
      

      The start up log file indicates that JVM isn't configured with -XX:MaxPermSize=256m:

           JVM Input Arguments                           : -Dcatalina.base=C:\JIRA4.3.1 -Dcatalina.home=C:\JIRA4.3.1 -Djava.endorsed.dirs=C:\JIRA4.3.1\endorsed -Dmail.mime.decodeparameters=true -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Djava.io.tmpdir=C:\JIRA4.3.1\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\JIRA4.3.1\conf\logging.properties -Xms128m -Xmx512m
      

      Investigating Windows service configuration confirms missing option:

      The same problem is observed if the service is installed with help of service.bat.

      Possible work around is to manually adjust the service configuration and configure PermGen memory space -XX:MaxPermSize=256m.

      http://confluence.atlassian.com/display/JIRA/Increasing+JIRA+Memory

            [JRASERVER-24251] PermGen does't get set for windows service

            Warning

            There is a related problme with the windows service where JIRA will fail to startup due to missing references to JRE.
            The service is terminated with the following error:

            Workaround provided on JRA-24291.

            Bogdan Dziedzic [Atlassian] added a comment - Warning There is a related problme with the windows service where JIRA will fail to startup due to missing references to JRE. The service is terminated with the following error: Workaround provided on JRA-24291 .

            TonyA added a comment -

            The full instructions for setting startup parameters (aka Java Options) can be found here:

            http://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup

            TonyA added a comment - The full instructions for setting startup parameters (aka Java Options) can be found here: http://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup

            Can you add more to the workaround?

            where do you add the -XX:MaxPermSize=256m option when running as a windows service?

            Paul Hanneman added a comment - Can you add more to the workaround? where do you add the -XX:MaxPermSize=256m option when running as a windows service?

              pleschev Peter Leschev
              bdziedzic Bogdan Dziedzic [Atlassian]
              Affected customers:
              1 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: