If you are using composer in your php project, you might encounter the the same error as mine.
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in phar:///sf2projects/myproject/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 47
To solve this PHP fatal error allowed memory size exhausted problem, refer to the solution below:-
Advertisements
- You can use a php parameter to specify the allowed memory like below:-
php -d memory-limit=1G composer require vendorname/bundlename
*You can adjust the memory limit value to 768M, 1024M, 1G, 2G to suite your need
Related posts:
How to print screen in Asus Zenfone 6
Symfony: How to escape hash # character in yaml
MySQL 5.5 PDO::__construct(): The server requested authentication method unknown to the client [mysq...
WordPress Dev: How to send html email using wp_mail()?
How to import contacts from SIM card to nokia N900
How to shrink worksheet for printing in Calc - OpenOffice
How to sort drop down - Admin Generator - Symfony 1.4
Free FTP Client for Mac OS X / Win XP / Vista
Share this with your friends:-