- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
ProperHost.com - The Magento Hosting Experts
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
ProperHost.com - The Magento Hosting Experts