Support the ongoing development of →
7 months ago
Last updated 3 months ago.


I don't think that the problem is the size of the collection itself. Are the jobs that you are dispatching executed on a queue (async) or in a synchronous way? If they are synchronous that could be the problem as it tries to instantiate 1 mio jobs right away which will cause the exception. If you just want to push 1 mio jobs into a queue, this shouldn't throw an exception imho.

Best wishes



adding to tom's suggestion make sure you have enough swap spaces + memory in your VM/compute/machine


Sign in to participate in this thread!


Your banner here too?

Nedim Nedim nedim Joined 11 Sep 2020


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.