Level 61
There isn't a way to safeguard in Laravel. You need to fix the memory issue.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi all,
I have a Laravel project deployed on Laravel Vapor using SQS for the queue driver.
I have (had) a job that was retrying forever because it was running out of memory and therefore was killed by Lambda, that means the job didn't have time to raise it as a failed job or increment the number of attempts.
Short of fixing the memory issue is there a way to safe guard this in the Laravel Core, somehow?
Thanks Ben
Please or to participate in this conversation.