Migration no longer runs out of memory for large archives