1. Home
  2. Knowledge Base
  3. FAQ
  4. Memory Exhausted Error

Memory Exhausted Error

A small number of users may experience a memory timeout issue when one of premium themes is activated. This can happen on shared hosting plans, particularly when other large websites are being hosted on the same server. If you are experiencing a memory timeout issue you’ll see a message similar to the following:

Fatal error: Allowed memory size of 33554432 bytes exhausted...

The issue is being caused by the webhost placing a very excessive restriction on allocated PHP memory for the website. Often hosts will apply the restriction at server level, allowing users to override the restriction at site level.

To override the restriction at site level please follow the steps below:

  • Login to your site via FTP and navigate to the root directory for your WordPress installation.
  • Open the file wp-config.php and then scroll down to the following line:
/* That's all, stop editing! Happy blogging. */
  • Immediately above this line add the following code: 
define( 'WP_MEMORY_LIMIT', '128M' );

This will increase the PHP memory limit to 128MB and should resolve all memory timeout issues. If you continue to experience problems please do submit a support ticket.

For more information on increasing memory allocations in PHP please refer to the official WordPress.org support article here:

WordPress.org Codex – Increasing PHP Memory

Still need support?

Use the search form above to explore more articles.

If you have an urgent support query please do submit a support ticket and one of our devs will be on hand to help.