limit memory usage of ``index-in-es`` command [applied]