Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-24251

PermGen does't get set for windows service

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              pleschev Peter Leschev
              bdziedzic Bogdan Dziedzic [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: