Pagination of documentation

Hi ,

Is there anyway we can paginate the document process ?
When we are processing the huge set of data it is leading to spiking of RAM usage. is there anyway I can process the documents set by set so that it takes care there is no spiking in RAM usage.

This helped to solve the issue. It would have been nice same thing is given as a single snap :slight_smile: