For more information, please refer to this announcement explaining best practices for getting answers to questions.
Paging Customstep with LrdPrestep and LRDPoststep
Summary:
For an integration I need to extract resumes based on an LRD, however as resume size could vary and is causing a Java heap space issue although I have increased it to 1200mb , I am able to extract only 200 resumes in a single run and hence paging is needed.
As far as I have researched the TCC customstep for LRDprestep and LRDPoststep can be used alongwith Paging customstep, with the paging customstep nested within the lrdprestep.
However the above doesn't maintain the lrd correctly and on the subsequent run for he next page simple errors out saying the paging details have been changed as there is an update on the lrd and it is getting changed.