Hi Shashi
You will have to wait till the first Costing Run completes, if the no. of cost estimates are more than 5000
For this reason, I used to schedule a background job for Costing Step for 1st Costing Run. Name it as ABC123.
For the 2nd Costing run, schedule a Job again and you can give the dependency on job ABC123. That ways, the 2nd Job will start once the 1st job is over
OR
Schedule the 2nd job say after 2-3 hours which will cover the completion of 1st job
Ajay M
PS: Request you to close your threads once your issue is fixed. you can close by marking any of the relevant answer as CORRECT ANSWER. For any workaround solution, you can specify it as HELPFUL ANSWER.. Incase no solution is available, Close your thread by marking it as "Assumed Answered" . This helps others in future to know how the issue was resolved