Changed number or buffered docs/memory to avoid frequent commits