Site Tools
WordPress Migrator "Allowed memory size exhausted" error

WordPress Migrator "Allowed memory size exhausted" error

This error message can appear if the memory required by the SiteGround Migrator plugin is more than the currently set maximum.

To increase the allowed WordPress memory edit your website’s wp-config.php file. In it locate the line:

define( 'WP_MEMORY_LIMIT', '96M' );

Replace the value you see in the quotes to with a new one up to 512M. After the changes the line should look like this:

define( 'WP_MEMORY_LIMIT', '512M' );

In some cases the line might not be present in your wp-config.php file. If you cannot find it, just copy the line provided above and paste it into the file, right before this one:

/* That’s all, stop editing! Happy publishing. */

Once you increase the memory limit, restart the migration process.

Share This Article