Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RicardoAugustoTulio's avatar

Laravel Scout: Multiple Execution of MakeSearchable Job in Production Causes Memory Exhaustion

Scout Version 10.8

Scout Driver Meilisearch

Laravel Version 10.48

PHP Version 8.1

Database Driver & Version No response

SDK Version No response

Meilisearch CLI Version 1.8.0

Description We are encountering an issue in production where the makeSearchable job is being executed multiple times for a single product, which eventually leads to memory exhaustion.

In our local environment, the job runs as expected, with only a single execution per product, as seen in the attached logs.

In production, the job is triggered multiple times for the same product, resulting in high memory usage and eventually causing the system to run out of memory.

I've attached the relevant logs for the local and prod environment.

Any assistance in resolving this issue would be greatly appreciated.

0 likes
0 replies

Please or to participate in this conversation.