We ran into this when we upgraded our site. Run smaller batches. I think we did 100 assignments at a time. Certainly, we did not do them one at a time, and we could not do them all.
I do not know the specifics of our system, but the faster it is, etc, etc, the more assignments you can do at a time.