-
Notifications
You must be signed in to change notification settings - Fork 26
Description
The backup tool works fine for a long time, but this morning I got this error. I cannot tell what the cause of this error is looking at the error message. The user where the backup is busy with, has a couple of sheets and a lot of large workspaces and uses a lot of attachments. What can I do to get this backup tool running again, if I can do that?
Below is the erroor message:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.StringCoding.safeTrim(Unknown Source)
at java.lang.StringCoding.access$100(Unknown Source)
at java.lang.StringCoding$StringDecoder.decode(Unknown Source)
at java.lang.StringCoding.decode(Unknown Source)
at java.lang.String.(Unknown Source)
at java.io.ByteArrayOutputStream.toString(Unknown Source)
at com.smartsheet.utils.HttpUtils.getJsonPayload(HttpUtils.java:76)
at com.smartsheet.restapi.service.RestfulSmartsheetService.getJsonPayload(RestfulSmartsheetService.java:85)
at com.smartsheet.restapi.service.RestfulSmartsheetService.getSheetDetails(RestfulSmartsheetService.java:67)
at com.smartsheet.restapi.service.RetryingSmartsheetService.getSheetDetails(RetryingSmartsheetService.java:96)
at com.smartsheet.restapi.service.ErrorContextualizingSmartsheetService.getSheetDetails(ErrorContextualizingSmartsheetService.java:68)
at com.smartsheet.tools.SmartsheetBackupService.saveSheetToFolder(SmartsheetBackupService.java:230)
at com.smartsheet.tools.SmartsheetBackupService.createFoldersRecursively(SmartsheetBackupService.java:342)
at com.smartsheet.tools.SmartsheetBackupService.backupTo(SmartsheetBackupService.java:196)
at com.smartsheet.tools.SmartsheetBackupService.assumeUserAndBackup(SmartsheetBackupService.java:160)
at com.smartsheet.tools.SmartsheetBackupService.backupOrgTo(SmartsheetBackupService.java:122)
at com.smartsheet.tools.SmartsheetBackupTool.main(SmartsheetBackupTool.java:107)
I run Java Version 8 update 321 on a Win10pro machine with 16gb ram