TRUNG VU Posted on May 18, 2021 How to handle out of memory errors when running composer Just set the memory_limit specifying the full route of your composer.phar file and update if you got the out of memory error when running composer require. php -d memory_limit=-1 [composer_phar_file_path] update Enter fullscreen mode Exit fullscreen mode I hope it can help you :) Top comments (1) Subscribe Submit Preview Dismiss Collapse Expand Sivabalan Sivabalan Sivabalan Follow Joined Dec 10, 2019 • Jan 18 '22 Dropdown menu Copy link Hide setting memory_limit to -1 is not good pratice Code of Conduct • Report abuse
Top comments (1)
setting memory_limit to -1 is not good pratice