This page last changed on Jun 22, 2009 by aatkins.

If you need to adjust memory settings and are using a Windows Service, you can adjust your memory settings using the instructions in this page.

You have two choices on how to set the memory settings.

From the Command Line

Run this command from the command line:

tomcat6 //US//Confluence --JvmMs 1024 --JvmMx 1024 ++JvmOptions="-XX:MaxPermSize=256m"

Edit the Registry

  1. Shut Confluence Service.
  2. Go to Start >> Run >> Type in regedit. (On versions of Windows prior to Windows XP, please type regedt32 instead of regedit.)
  3. In the registry editor, click to HKEY_LOCAL_MACHINE -> SOFTWARE -> Apache Software Foundation -> Procrun 2.0 -> Confluence -> Parameters -> Java. Here you will see an entry for JvmMx, which is the "maximum memory" setting. Choose an appropriate value based on Managing Application Server Memory Settings.
  4. Double-click JvmMx to edit, change the Base to "Decimal" and adjust the value as necessary:
  5. If setting the Perm Gen size, click Options and add -XX:MaxPermSize=256m:

    If you want to add other JVM parameters, you can use the same method as when adding the permgen setting.
  6. Restart Confluence Service.

regedt32.png (image/png)
1.JPG (image/jpeg)
2.JPG (image/jpeg)
3.JPG (image/jpeg)
Document generated by Confluence on Jul 09, 2010 01:11