cancel
Showing results for 
Search instead for 
Did you mean: 

Update from 2.0.7 to 2.1 (NOT RC) got allocated memory exhausted

Update from 2.0.7 to 2.1 (NOT RC) got allocated memory exhausted

Running a system update from 2.0.7 (brand new empty install) to 2.1, got the following mail on my SSH terminal:

 

PHP Fatal error: Allowed memory size of 134217728 exhausted (tried to allocate 80 bytes) in /home/.../ComposerRepository.php line 308.

 

Meanwhile update keep running but not getting anywhere. Ideas?

3 REPLIES

Re: Update from 2.0.7 to 2.1 (NOT RC) got allocated memory exhausted

You need to increase the memory limit available to PHP. In your php.ini file, change:

 

memory_limit = 1024M
Sindre M, CEO & Founder
ProperHost.com - The Magento Hosting Experts

Re: Update from 2.0.7 to 2.1 (NOT RC) got allocated memory exhausted

Thanks, the current limit is set at 128M, so the 1024M is a lot more than I would have guessed. The host server failed readiness test because of missing PHP zip extension, still waiting for them to correct that.

 

Meanwhile, I have set up a test trial account at ProperHost on the strength of your frequent sensible contributions here and so far it looks very good, I already have M 2.1 up and running.

Re: Update from 2.0.7 to 2.1 (NOT RC) got allocated memory exhausted

128MB is way too low. The default set in the Magento 2 .htaccess is 768MB, but you might need more or less depending on the type of workload your site generates.

Sindre M, CEO & Founder
ProperHost.com - The Magento Hosting Experts