Confluence Docs 3.0 : Editing the Windows Registry 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 Shut Confluence Service. Go to `Start >> Run >> Type in regedit`. (On versions of Windows prior to Windows XP, please type `regedt32` instead of `regedit`.) 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. Double-click JvmMx to edit, change the Base to "Decimal" and adjust the value as necessary: 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. Restart Confluence Service. Attachments: regedt32.png (image/png) 1.JPG (image/jpeg) 2.JPG (image/jpeg) 3.JPG (image/jpeg)

Document generated by Confluence on Nov 05, 2009 23:34