BUG: CORE-2925 Break up insert batch to 1k size to prevent OOM.