Don't do batch insert for duplication in order to avoid OOM error