Showing posts with label JvmMx. Show all posts
Showing posts with label JvmMx. Show all posts

How to update Java Heap Size Alfresco Windows Service

How to update Java Heap Size Alfresco Windows Service


Options:
1. Update the setenv.bat/setenv.sh file
2. Update the alfrescoTomcatw.exe(service) file

Option 1: Update the setenv.bat/setenv.sh file


Step 1: Go to the <alfresco-home>tomcat\bin folder
Step 2: Edit the file setenv.bat to update the value starting with SET JAVA_OPTS.. to have the value - --JvmMx 4095 replaced with the desired maximum value, say --JvmMx 8129

Option 2: Update the alfrescoTomcatw.exe(service) file


Step1. Go to the <alfresco-home>tomcat\bin folder
Step 2: Find and right-click on the alfrescoTomcatw.exe file, click on Open

Step 3: Click on the Java tab



Step 4: Update the Maximum memory pool to the desired RAM.
Step 5: Restart the server.