Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34810

Confluence runs out of PermGen space when installing on Windows

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 5.6.3
    • 5.6, 5.6.1, 5.6.5
    • None

      When using the Windows installer, a service is created. This service using the incorrect JVM arguments. When Confluence attempts to set up the database as part of the installation, it throws OutOfMemoryErrors as it runs out of PermGen space:

       -- referer: http://localhost:8090/setup/setupstandarddb-start.action?database=mssql | url: /setup/setupstandarddb.action | userName: anonymous | action: setupstandarddb
      java.lang.OutOfMemoryError: PermGen space
      

      Workaround (follow step by step instructions)

      1. Use https://confluence.atlassian.com/display/CONFKB/How+to+Fix+Out+of+Memory+Errors+by+Increasing+Available+Memory#HowtoFixOutofMemoryErrorsbyIncreasingAvailableMemory-SettingPropertiesforWindowsServicesviatheWindowsRegistry to set properties for Windows service via the Windows Registry.
      2. Modify Parameters/Java/JvmMS to 400 in hexadecimal (1024 in decimal)
      3. Modify Parameters/Java/JvmMx to 400 in hexadecimal (1024 in decimal)
      4. Modify Parameters/Java/Options and add -XX:MaxPermSize=256m as the first line.
      5. Restart Confluence

            [CONFSERVER-34810] Confluence runs out of PermGen space when installing on Windows

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2895780 ] New: CONFSERVER Bug Workflow v4 [ 2988290 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2786384 ] New: JAC Bug Workflow v3 [ 2895780 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2716562 ] New: JAC Bug Workflow v2 [ 2786384 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372686 ] New: JAC Bug Workflow [ 2716562 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2256817 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372686 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208153 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2256817 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2153806 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2208153 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1936476 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2153806 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1735808 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1936476 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1693487 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1735808 ]

              onevalainen Olli Nevalainen
              ldally lachland (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: