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
Release: 2024-11-28 03:19:14
Original
550 people have browsed it

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!

source:dev.to
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template