Home >Backend Development >PHP Tutorial >Laravel Allowed memory size of bytes exhausted (tried to allocate bytes)

Laravel Allowed memory size of bytes exhausted (tried to allocate bytes)

DDD
DDDOriginal
2024-11-28 03:19:14611browse

Laravel  Allowed memory size of  bytes exhausted (tried to allocate bytes)

Laravel error Allowed memory size of 134217728 bytes exhausted (tried to allocate 23085056 bytes)

This error means that the available memory is small but the data you want to store in memory is large. You can try by adding memory in php.ini

from
memory_limit = 128M

to
memory_limit = 512M

The above is the detailed content of Laravel Allowed memory size of bytes exhausted (tried to allocate bytes). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn