The more you have selected for backup, the more memory the Backup Software will require to run, memory usage can sometimes be a limiting factor for larger file selections. We have a default memory usage limit of 512MB. However, when the size of a backup exceeds 1TB or 1 million files, this may not be enough memory, and Backup Software may eventually start running out of memory and crashing. This can manifest itself in a couple different ways: either the application will silently crash and close within minutes of being opened, or when the application is started it will get stuck on the splash screen with the message "Unable to connect to the backup engine, retry?"
To remedy this, it is possible to change the Backup Software's memory allocation to allow it to use more memory for larger file selections. Below are step-by-step instructions for different platforms:
Windows:
- Stop the backup engine: Stopping/Starting the Backup engine
- Locate the Notepad program, right-click and Launch as Administrator
- Go to File > Open, and navigate to C:\Program Files\CrashPlan\CrashPlanService.ini
- Find the following line in the file:
- -Xmx512m
- Edit to something larger such as 768, 896, 1024, 2048. E.g.:
- -Xmx1024m
- This sets the maximum amount of memory that the Backup Software can use. The Backup Software will not use that much until it needs it. As a rule of thumb set about a gigabyte RAM for every terabyte in the file selection. For example, if you're backing up 1 terabyte of data set the -xmx value to 1024 like so: -Xmx1024m
- Start the backup engine.
Mac OS X 10.5 or greater:
- Open the Terminal Application (Applications > Utilities > Terminal)
- Stop the backup engine by typing:
- sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist
- Run the following command to open a command line text editor:
- sudo nano /Library/LaunchDaemons/com.crashplan.engine.plist
- Using the arrow keys to navigate, find the line:
- -Xmx512m
- Edit the line to a larger value:
- -Xmx1024m
- This sets the maximum amount of memory that CrashPlan can use. CrashPlan will not use that much until it needs it. As a rule of thumb set about a gigabyte RAM for every terabyte in the file selection. For example, if you're backing up 1 terabyte of data set the -xmx value to 1024 like so: -Xmx1024m
- Hold the Control key and tap the x key to exit. Choose "y" to confirm it.
- You'll see the prompt "File Name to Write." Hit enter to save to the existing location.
- Start the backup engine by typing:
- sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist
Linux:
- Stop the backup engine: Stopping/Starting the Backup engine
- Using your favorite Terminal based editor, edit the below line in /usr/local/crashplan/bin/run.conf
- Edit to something larger such as 768, 896, 1024, 2048. E.g.:
- -Xmx1024m
- This sets the maximum amount of memory that CrashPlan can use. CrashPlan will not use that much until it needs it. As a rule of thumb set about a gigabyte RAM for every terabyte in the file selection. For example, if you're backing up 1 terabyte of data set the -xmx value to 1024 like so: -Xmx1024m
- Start the backup engine.