Fix memory limit causing migration to abort