backup restore fail...
 
Notifications
Clear all

backup restore fails java.lang.OutOfMemoryError: Java heap space

1 Posts
1 Users
0 Likes
296 Views
(@sagemajor)
Posts: 2
Topic starter
 

I am doing a migration and moving from 8.0.6 Network edition to 8.7 FOSS.

I created a backup using the migration tool and keep getting out of memory errors when restoring even single accounts.
The new server has 64gb ram, the old one only had 16.

The log ends with this
2016-10-19 11:50:46,926 DEBUG Restoring item 2767
2016-10-19 11:50:49,294 INFO Adding item 2767 => 2861
2016-10-19 11:50:49,299 DEBUG Restoring item 2768
2016-10-19 11:50:51,065 INFO Adding item 2768 => 2862
2016-10-19 11:50:51,073 DEBUG Restoring item 2769
2016-10-19 11:50:52,253 INFO Adding item 2769 => 2863
2016-10-19 11:50:52,262 DEBUG Restoring item 2770
2016-10-19 11:50:54,035 INFO Adding item 2770 => 2864
2016-10-19 11:50:54,037 DEBUG Restoring item 2772
2016-10-19 11:50:57,461 ERR Exception: java.lang.OutOfMemoryError: Java heap space

and the email I get says this

This is an automated notification from ZxBackup about External Restore.

Operation External Restore failed.

Operation Id: fb8a7e01-94e3-4907-a4c1-a62f00796306
Operation Host: mail3.xxx.com

Operation requested by: admin@mail3.xxx.com

ZeXtras Suite Version: 2.4.0
commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb

Zal Version: 1.11.0
Zal commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb
Zimbra version: 8.7.0_GA_1659 20160628202701 20160628-2034 FOSS

- exception -
com.zextras.lib.Error.OperationBlockingError: Blocking operation error
        at com.zextras.op.backup.ZEExternalRestoreOperation.restoreItemsFromExternal (ZEExternalRestoreOperation.java:1110)
        at com.zextras.op.backup.ZEExternalRestoreOperation.doOperation (ZEExternalRestoreOperation.java:837)
        at com.zextras.op.ZEOperation.exec (ZEOperation.java:757)
        at com.zextras.op.LegacyOperationProxy.exec (LegacyOperationProxy.java:83)
        at com.zextras.op.StatefulOperationImpl.exec (StatefulOperationImpl.java:115)
        at com.zextras.op.OperationStarterActivity.run (OperationStarterActivity.java:45)
        at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:122)
Caused by: java.lang.OutOfMemoryError: Java heap space

Last progress info:
 -- 
 Operation log path:                           /opt/zimbra/log/op_ExternalRestore_fb8a7e01-94e3-4907-a4c1-a62f00796306.log
 Warnings/Errors:                              1/0
 Restored Accounts(only attributes):           1/1
 Restored Accounts(common items):              0/1
 Restored Accounts(only shared & datasources): 0/1
 Current Account:                              sage@xxx.com
 Restored/Skipped Items:                       1000/984
 Unrestored Items:                             0
2016-10-19 11:50:46,926 DEBUG Restoring item 2767
2016-10-19 11:50:49,294 INFO Adding item 2767 => 2861
2016-10-19 11:50:49,299 DEBUG Restoring item 2768
2016-10-19 11:50:51,065 INFO Adding item 2768 => 2862
2016-10-19 11:50:51,073 DEBUG Restoring item 2769
2016-10-19 11:50:52,253 INFO Adding item 2769 => 2863
2016-10-19 11:50:52,262 DEBUG Restoring item 2770
2016-10-19 11:50:54,035 INFO Adding item 2770 => 2864
2016-10-19 11:50:54,037 DEBUG Restoring item 2772
2016-10-19 11:50:57,461 ERR Exception: java.lang.OutOfMemoryError: Java heap space

and the email I get says this
This is an automated notification from ZxBackup about External Restore.

Operation External Restore failed.

Operation Id: fb8a7e01-94e3-4907-a4c1-a62f00796306
Operation Host: mail3.xxx.com

Operation requested by: admin@mail3.xxx.com

ZeXtras Suite Version: 2.4.0
commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb

Zal Version: 1.11.0
Zal commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb
Zimbra version: 8.7.0_GA_1659 20160628202701 20160628-2034 FOSS

- exception -
com.zextras.lib.Error.OperationBlockingError: Blocking operation error
at com.zextras.op.backup.ZEExternalRestoreOperation.restoreItemsFromExternal (ZEExternalRestoreOperation.java:1110)
at com.zextras.op.backup.ZEExternalRestoreOperation.doOperation (ZEExternalRestoreOperation.java:837)
at com.zextras.op.ZEOperation.exec (ZEOperation.java:757)
at com.zextras.op.LegacyOperationProxy.exec (LegacyOperationProxy.java:83)
at com.zextras.op.StatefulOperationImpl.exec (StatefulOperationImpl.java:115)
at com.zextras.op.OperationStarterActivity.run (OperationStarterActivity.java:45)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:122)
Caused by: java.lang.OutOfMemoryError: Java heap space

Last progress info:
--
Operation log path: /opt/zimbra/log/op_ExternalRestore_fb8a7e01-94e3-4907-a4c1-a62f00796306.log
Warnings/Errors: 1/0
Restored Accounts(only attributes): 1/1
Restored Accounts(common items): 0/1
Restored Accounts(only shared & datasources): 0/1
Current Account: sage@xxx.com
Restored/Skipped Items: 1000/984
Unrestored Items: 0
This is an automated notification from ZxBackup about External Restore.

Operation External Restore failed.

Operation Id: fb8a7e01-94e3-4907-a4c1-a62f00796306
Operation Host: mail3.xxx.com

Operation requested by: admin@mail3.xxx.com

ZeXtras Suite Version: 2.4.0
commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb

Zal Version: 1.11.0
Zal commit: c78b623c8cd9ae664a8017ebddf20ce3c9c62abb
Zimbra version: 8.7.0_GA_1659 20160628202701 20160628-2034 FOSS

- exception -
com.zextras.lib.Error.OperationBlockingError: Blocking operation error
at com.zextras.op.backup.ZEExternalRestoreOperation.restoreItemsFromExternal (ZEExternalRestoreOperation.java:1110)
at com.zextras.op.backup.ZEExternalRestoreOperation.doOperation (ZEExternalRestoreOperation.java:837)
at com.zextras.op.ZEOperation.exec (ZEOperation.java:757)
at com.zextras.op.LegacyOperationProxy.exec (LegacyOperationProxy.java:83)
at com.zextras.op.StatefulOperationImpl.exec (StatefulOperationImpl.java:115)
at com.zextras.op.OperationStarterActivity.run (OperationStarterActivity.java:45)
at com.zextras.lib.activities.ActivityThread.run (ActivityThread.java:122)
Caused by: java.lang.OutOfMemoryError: Java heap space

Last progress info:
--
Operation log path: /opt/zimbra/log/op_ExternalRestore_fb8a7e01-94e3-4907-a4c1-a62f00796306.log
Warnings/Errors: 1/0
Restored Accounts(only attributes): 1/1
Restored Accounts(common items): 0/1
Restored Accounts(only shared & datasources): 0/1
Current Account: sage@xxx.com
Restored/Skipped Items: 1000/984
Unrestored Items: 0

 
Posted : 10/19/2016 20:59