Title: memory allocation error
Last modified: June 23, 2024

---

# memory allocation error

 *  Resolved [jms1017](https://wordpress.org/support/users/jms1017/)
 * (@jms1017)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/memory-allocation-error-7/)
 * wordpress continues to send email that the all in one seo plugin is causing a
   fatal error on the website.
 * site stays up, but I am concerned as to what’s going on with the plugin. Here
   is the error message An error of type E_ERROR was caused in line 100 of the file/
   home/oralsurgery/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/
   ImportExport/YoastSeo/PostMeta.php. Error message: Allowed memory size of 134217728
   bytes exhausted (tried to allocate 2621440 bytes)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmemory-allocation-error-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [steckinsights](https://wordpress.org/support/users/steckinsights/)
 * (@steckinsights)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/memory-allocation-error-7/#post-17847559)
 * Just to validate the issue you’re seeing, we’re seeing this too on a client’s
   site. My guess is that the Yoast plugin needs to be removed (they’re likely conflicting
   with each other). Disabling All In One SEO eliminated the error message. I haven’t
   disabled Yoast yet.
 *  Plugin Author [arnaudbroes](https://wordpress.org/support/users/arnaudbroes/)
 * (@arnaudbroes)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/memory-allocation-error-7/#post-17848343)
 * Hey [@jms1017](https://wordpress.org/support/users/jms1017/), [@steckinsights](https://wordpress.org/support/users/steckinsights/)
 * It looks like our process that imports post meta from Yoast to AIOSEO is running
   out of resources. We should be able to mitigate that by simply trying to import
   fewer posts at a time.
 * Can you try adding this code snippet to see if it resolves the issue?
 *     ```wp-block-code
       add_filter( 'aioseo_import_yoast_seo_posts_per_action', function() {	return 10;} );
       ```
   
 * You can add this through the WPCode plugin or simply in the functions.php file
   inside your theme.
 *  Plugin Support [Steve M](https://wordpress.org/support/users/wpsmort/)
 * (@wpsmort)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/memory-allocation-error-7/#post-17856438)
 * Hey [@jms1017](https://wordpress.org/support/users/jms1017/) and [@steckinsights](https://wordpress.org/support/users/steckinsights/),
 * We haven’t heard back from you in a couple of days. I’m going to go ahead and
   close this thread for now. But if you’d like us to assist, please feel welcome
   to continue the conversation.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘memory allocation error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-seo-pack/assets/icon.svg?rev=2443290)
 * [All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic](https://wordpress.org/plugins/all-in-one-seo-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-seo-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-seo-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-seo-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-seo-pack/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Steve M](https://wordpress.org/support/users/wpsmort/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/memory-allocation-error-7/#post-17856438)
 * Status: resolved