Fatal Error: Allowed Memory Size of xxxx Bytes Exhausted

If you are facing this issue, you can try increasing the memory limit. However, the first thing that we recommend is trying to review if this is actually a lack of memory, or, your PHP code is having a memory leak.

In case you are on the 2nd option, you will have to review and monitor your codebase, otherwise, you can try increasing the memory limit with the memory_limit sentence, considering that xxxx as a higher amount of memory.

If you are on a local environment, or you want to disable that (not recommended), you can do the following: