cancel
Showing results for 
Search instead for 
Did you mean: 

Memory exhausted Trying to install Extension using Extension Manager

Memory exhausted Trying to install Extension using Extension Manager

I just installed Magento 2.3.3 and wanted to install a few extensions for example Stripe or a language pack using the extensions manager.


The install aborts at the readiness check

 

Check Component Dependency

We found conflicting component dependencies.  

For additional assistance, see component dependency help .

 

I checked my error log and there is this error:

 

2019-12-03 00:55:22 Error 79.230.91.184 500 POST /setup/index.php/dependency-check/component-dependency HTTP/1.1 770 Apache SSL/TLS access 2019-12-03 00:55:32 Error 79.230.91.184   AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 792723456 bytes exhausted (tried to allocate 33554440 bytes) in /var/www/vhosts/xxxxx/httpdocs/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 84', referer: https://xxxxx/setup/

 

The memory limit is set to 3G, how can this be fixed?

 

3 REPLIES 3

Re: Memory exhausted Trying to install Extension using Extension Manager

Hello @MadisonCooper 

 

1: Check the php.ini has memory_limit (for example set 2G)

2: look in the .htaccess file --of all places.

in .htaccess there are 2 places that memory_limit is also overridden, either remove them or change them to 2G as well

3. increase the php value 'max_execution_time' to 120

 

Or try

 

https://devdocs.magento.com/guides/v2.3/comp-mgr/trouble/cman/out-of-memory.html

 

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Memory exhausted Trying to install Extension using Extension Manager

Hi @MadisonCooper,

Memory limit should be 4096M for magento 2.

 

You should increase memory limit in php.ini file.

 

Or you can disable memory limit by set "-1".

 

Alternate way:

You can add in following line in index.php file on the root folder.

 

ini_set("memory_limit", "-1");

for Max execution time.

ini_set("max_execution_time", 0);

 

Or you can in the command as well.

 

php -d memory_limit=-1 bin/magento

I hope it will help you!

Re: Memory exhausted Trying to install Extension using Extension Manager

There is no change at all. If I increase the memory limit the error persists, if I change it to -1 it is still there. Adding it to index.php the same thing.