PHP Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to allocate 65536 bytes) in /var/www/html/mediawiki/includes/libs/objectcache/MemcachedClient.php on line 1089 code example
Example 1: how to fix PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
php -d memory_limit=-1 composer.phar require hwi/oauth-bundle php-http/guzzle6-adapter php-http/httplug-bundle
Example 2: Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 32 bytes) in
;memory_limit=512M