Sign Up / Log In
Need help?
08456 171 171
Online Support Web Hosting

How to Fix Memory Exhausted Error in WordPress, Joomla, and Moodle

WordPress, Joomla, and Moodle are few of the common CMS (Content Management System) that are available on the web. And the other common thing for these CMS is that it is written in PHP, which is a server-side programming language.

Web servers are just like any other program running on a computer. They need memory to run multiple applications at the same time. The server administrators should allocate specific memory size to different applications including PHP.

Increasing your PHP memory limit will resolve this issue. Having said that, we’ll guide you on how to increase PHP limit to avoid memory exhausted error.

How to Increase PHP Memory Limit

Follow the steps below to increase your PHP Memory Limit via File Manager.

  1. Access your File Manager.
  2. Scroll to public_html folder and locate your php.ini file.
  3. Right-click on the php.ini file and click Code Edit. A pop-up window will appear, click Edit to continue to the editor page.
  4. Using the Code Editor, within the php.ini file, search for the following text:
        max_execution_time = 30
        max_input_time = 60
        memory_limit = 128M
    Increase the size of the memory_limit. The size is usually in megabytes.

    Important: To make sure that your server runs efficiently, do NOT set a PHP memory limit value that is more than 60% of the size of your server's RAM.
    Moreover, it is NOT recommended that you set the memory limit to -1 (unlimited) because it will cause your "page load time" to lag.

  5. Click Save Changes.
  6. Reload/refresh your site and test if the increase in memory_limit is enough.
    If it isn’t, it is recommended that you increase the memory_limit value again until you find the size that will resolve the memory-related Fatal Error.

If the error still occurs after following the steps above, then contact our Technical Support team to further assist you. We’d be glad to help!

Was this helpful? Yes No 100% of people found this helpful.
we're
online
Need Help? Chat Now