简体   繁体   中英

Laravel 5: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted

I've used laravel 5 for my project and everything was working fine until 2 days before but now I'm stuck with this error

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/.../public_html/CMS/vendor/compiled.php on line 9360 

I've frontend and backend for this project and my frontend is working all fine without any errors. But when I log in to my backend, I can log in but just get a blank page. I don't find a way to get rid of this error. Please help me Thankyou.

What is your code exactly. Its eating up all the memory. Try optimizing your code. I will not prefer using this but it can be done for a temporary solution.

ini_set("memory_limit",-1);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM