Magento 1.6 can be quite memory intensive due to its robust design. You can adjust the memory limits to reduce or eliminate the memory errors all together. You'll have to add code to 2 separate files and we'll walk you through the process using the file manager in cPanel.

  1. Log into cPanel and open File Manager
  2. Navigate to the root folder for your Magento Installation
  3. magento_memory_error_1

  4. Right click on the "index.php" file by right clicking on the file and selecting "Code Edit"
  5. magento_memory_error_2

  6. click "OK"
  7. Add the following line after the first line of code:
  8. ini_set("memory_limit","512M");

  9. Click "Save Changes" in the upper right corner
  10. magento_memory_error_3

  11. Go back to File Manager and open the app/Mage.php file with the code editor in the same manner you opened the index.php file above
  12. After the first line of code add the following line of code:
  13. ini_set("memory_limit","512M");

  14. Click "Save Changes" in the upper right corner
  15. magento_memory_error_4

At this point you should be able to re-load your website and the errors should no longer appear on your pages.

If you need further assistance please feel free to ask a question on our Support Center.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Tim Sisson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!