TECHNIG
Gateway for IT Experts and Tech Geeks

Fix Magento Fatal error Allowed memory size of 33554432 bytes exhausted

This is simple way to fix Magento Fatal error Allowed memory size. The Magento is an open-source e-commerce platform written in PHP. The software was originally developed by Varien Inc., a US private company. According to the research conducted by aheadWorks in May 2015, Magento’s market share among the 30 most popular e-commerce platforms is about 29.8%.

Magento is the provider of three distinct platforms, Magento Community Edition, Magento Enterprise Edition and Magento Enterprise Cloud Edition. There were also two former platforms, Magento Professional Edition and Magento Go.

How to Fix Magento Fatal error Allowed memory size?

I had installed Magento beside the the main website as online shop on self-hosted website. My first experience with Magento e-commerce was awful. The magento configuration is difficult for fist time. I recommend you to get help by a Magento e-commerce expert or use Magento enterprise cloud edition.

The enterprise cloud edition is a preinstalled magento on a cloud hosting services that specially optimized for Magento e-commerce. It offers all the benefits of modern cloud computing that are most commonly associated with SaaS solutions: Elastic scalability, high resilience and availability, PCI compliance, global availability and automated patching.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/mysite/shop.mysite.com/app/code/core/Mage/Catalog/Block/Product/Price.php on line 232

I do search a lot but only method works for me is this. Add the below code to home page (index.php) of Magento.

ini_set('memory_limit','512M');

Fix Magento Fatal error Allowed memory size - Technig

Fix Magento Fatal error Allowed memory size – Technig

The code increase the default memory size of magento. Sometime you can change it from php.ini file or htaccess file.

Note: before bring changes to any files, try to get a backup of the file first. If you go wrong, you must have the copy to restore them.

You might have another issue with magento e-commerce, please share with us to find and solve the problems. It help our readers to have quick source.

Leave A Reply

Your email address will not be published.