Suddenly getting this strange error every time I try to update Craft or any plugins through the admin;

Status: Internal Server Error

Response: <pre>PHP Fatal Error &#039;yii\base\ErrorException&#039; with message &#039;Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes)&#039; 

in /Users/a/Sites/askrembla/vendor/composer/composer/src/Composer/DependencyResolver/Solver.php:220

Stack trace:
#0 [internal function]: yii\base\ErrorHandler-&gt;handleFatalError()
#1 {main}</pre>

Memory and all that is fine as far as I can tell, so not sure why this error is thrown. Will continue investigating on my end.

1 Answer 1


Memory is definitely not fine, the error message is very explicit:

Allowed memory size of 134217728 bytes exhausted

You need to raise your PHP memory limits. Craft requires a minimum of 256MB to run properly.


  • Hmm. Strange. I seem to have conflicting PHP instances. Should have been 1G.
    – Anders
    Sep 10, 2018 at 23:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.