Revolving around the core of technology
The last few weeks I have been getting the following error about every 5 days:
ERROR: Java heap space
java.lang.OutOfMemoryError: Java heap space
When this happens I cannot access the admin console.
I see the error in the syncrify.log file.
I feel like it started after updating Syncrify to Version: 6.2 - build 1178
The only resolution I have found is to restart the Syncrify service.
Allen,
I am sorry to learn you're running into this problem. Hopefully, my response will help you determine why this is happening. Most likely, this problem is not related to the upgrade.
There are two possible reasons for:
Let me know if the total memory is low. I will send you the instructions on how to increase that limit.
Memory graph only shows the last hour. It shows Max Memory at just above 450. Allocated Memory ranges from under 250 to almost 350. Used Memory ranges from about 35 to almost 200. If there is a way to adjust max memory that would be great.
We backup to a local hard drive on this machine and have been for a couple years. If the firewall/anti-virus was the problem I would have expected it show up before now.
Hi. Please send the instructions on how to increase the limit.
I apologize for the delay. Please refer to https://web.synametrics.com/increase-max-memory-windows.htm for instructions.
We also have been running into this issue about every 4-5 days. We host Syncrify on Synology and our current version is
I have to go into SSH, find the Java process, kill it and then start Syncrify again.
I saw the instructions to increase memory, but we aren't on Windows. How can I get this diagnosed?
To modify the maximum memory for Syncrify in Synology, please do the following:
1. Stop the Syncrify Server in the Package Center.
2. SSH into your Synology as root and go to /var/packages/Syncrify/target/Syncrify/
3. You should see a file named run.sh here. Open this file with a text editor, such as vi.
4. Look for the following line:
jre/bin/java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &
Modify the value 512 to a higher number. For example, changing the 512 to 2048 will increase the max memory from 0.5 GB to 2GB. After changing it, save the file.
5. In the /var/packages/Syncrify/target/Syncrify/ directory, go to the config directory, then open the AppConfig.xml file with a text editor.
6. Look for the following line:
<parameter name="vmParams" type="1" value="-Xmx512m -DLoggingConfigFile=logconfig.xml"></parameter>
Modify the value 512 to the same number you increased in the run.sh file. Save the file after changing.
7. Start Syncrify Server in the Package Center. Once started, wait a few minutes, and the memory graph on the home page should now show the max value.