Hi Mehul,
I have a similar issue now; since a couple of days, the WL generation fails in background mode. Although when I'm running it in foreground processing it's completed w/o any problem.
My question is that would you confirm that you did reduce the package size to 1?
so, your parameters are: nr of jobs: 1 and package size: 1
Is that right? Did it completely solve your issue?