Support

Home Forums Event Espresso Premium Fatal error: Out of memory (allocated 173801472) (tried to allocate 64 bytes)

Fatal error: Out of memory (allocated 173801472) (tried to allocate 64 bytes)

Posted: June 17, 2019 at 8:03 am

Viewing 6 reply threads


Omnishambles

June 17, 2019 at 8:03 am

Hi there when I activate the Automated Upcoming Event Notification (EE 4.9.44+) I get the following error Fatal error: Out of memory (allocated 173801472) (tried to allocate 64 bytes) I have spoken to our hosting company Heart Internet and they say that they have increased the memory_limit to 512MB and that’s the maximum we can set for the package.
ANy ideas please?
Many Thanks


Josh

  • Support Staff

June 17, 2019 at 8:10 am

Hi,

In addition to the host raising the memory limit, you will also need to raise the limit for WordPress. Here’s a guide that shows how:

https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/


Omnishambles

June 17, 2019 at 9:12 am

Thanks Josh i have done that but i am still getting Notice: add_object_page is deprecated since version 4.5.0! Use add_menu_page() instead. in /*redacted*/public_html/wp-includes/functions.php on line 4435 Fatal error: Out of memory (allocated 161218560) (tried to allocate 72 bytes) in /home/sites/solentmathshub.org.uk/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1194

Would really appreciate some help as I can’t edit any pages/ posts.

Many thanks


Josh

  • Support Staff

June 17, 2019 at 9:26 am

Hi,

The last fatal error is from WordPress core which is an indication that something else other than Event Espresso 4 is causing the memory issues. Can you edit pages/posts with no fatal errors if the Automated messages add-on is deactivated?


Omnishambles

June 18, 2019 at 2:28 am

Hi Josh, no it seems not. Thanks for your help : )


Omnishambles

June 18, 2019 at 3:00 am

This reply has been marked as private.


Tony

  • Support Staff

June 18, 2019 at 4:11 am

Hi there,

The reason de-activating EE resolves it is likely just because it takes you below the memory limit rather than an issue in itself.

There’s a couple of inconsistencies above, from here:

I have spoken to our hosting company Heart Internet and they say that they have increased the memory_limit to 512MB and that’s the maximum we can set for the package.

So memory limit shouldbe 512MB from this point on, you also mentioned you increased the WP_MEMORY_LIMIT value within wp-config.php correct? I assuming to 512M to match the amount of memory available?

Problem is in your next reply, your still getting this error:

Fatal error: Out of memory (allocated 161218560) (tried to allocate 72 bytes)

161218560 bytes is ~161MB so your host says you have 512MB, you say you’ve upped the limit set within wp-config.php but your server reports you have ~161MB available?

Viewing 6 reply threads

The support post ‘Fatal error: Out of memory (allocated 173801472) (tried to allocate 64 bytes)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso