KB5009: How to modify the Java heap size setting of CloudBacko for Linux?
Article ID
5009
All Products
Last reviewed date
Solution
To modify the Java heap size of CloudBacko installation on Linux, amend the following files:
For Linux:
- ${CloudBacko-Install-Home}/config.ini
- ${CloudBacko-Install-Home}/bin/RunCB.sh
- ${CloudBacko-Install-Home}/bin/RunBackupSet.sh
Steps:
1. Open the config.ini, RunCB.sh & RunBackupSet.sh files with a text editor.
2. In config.ini, find the line that starts with:
app.system.ui.vm.opt.xmx=2048
3. In RunCB.sh & RunBackupSet.sh, find the line that starts with:
JAVA_OPTS="-Xrs -Xms128m -Xmx2048m -client"
4. Amend the line by changing the value "xmx=2048" & "-Xmx2046m" to "xmx=4096" & "-Xmx4096m" (value in MB) (depending on the amount of free system memory available)
6. Save the changes and restart the CloudBacko machine.
Keywords