Support

Home Forums Event Espresso Premium Fatal Error: Out of Memory

Fatal Error: Out of Memory

Posted: August 4, 2022 at 8:07 pm


mborlongan

August 4, 2022 at 8:07 pm

The below error message shows when I go to REGISTRATIONS. My server provider has maximized the memory wp-config file to 512MB but the error still insists. Any suggestions?

Fatal error: Out of memory (allocated 119607296) (tried to allocate 4417200 bytes) in /hermes/bosnacweb06/bosnacweb06ac/b2526/sl.mborlongan/public_html/wordpress/wp-includes/kses.php on line 1842
There has been a critical error on this website. Please check your site admin email inbox for instructions.

Learn more about troubleshooting WordPress.


mborlongan

August 5, 2022 at 7:14 am

In addition, I tried to delete an EVENT permanently because, one of the largest registration in my event espresso but it always stops at 45% (15000/32780) I figured maybe if I delete this it will free up some space then I wont get the “out of memory” error message. What is your thought?


Sam

  • Support Staff

August 5, 2022 at 7:33 am

Hi Melchor,

Thank you for contacting us.

From the above error the allocated memory 119607296 is almost 120Mb and the required memory is almost 4.5Mb.

So can you please confirm with the server provider about how much memory your current hosting plan supports?

As if you have a hosting plan of 120Mb then changing the memory limit under config.php won’t help to increase the memory.

Looking forward to helping you.


mborlongan

August 5, 2022 at 7:58 am

This reply has been marked as private.


Tony

  • Support Staff

August 5, 2022 at 9:29 am

Hi there,

In your opening post you have:

My server provider has maximized the memory wp-config file to 512MB but the error still insists. Any suggestions?

However, as same mentioned in your error is has:

Fatal error: Out of memory (allocated 119607296) (tried to allocate 4417200 bytes) in

Which is roughly 119MB and nowhere near the 512MB limit which has apparently been set in wp-config so either the above has not be set correctly or the value is being overridden/ignored by the server. The constant within wp-config.php is used to then do something like:

ini_set( 'memory_limit', WP_MEMORY_LIMIT );

Which sets your server PHP memory limit using the PHP ini_set() function, your host can override those values and they may well be doing so here as the memory limit is maxing out at 120MB.

However, this reply:

In addition, I tried to delete an EVENT permanently because, one of the largest registration in my event espresso but it always stops at 45% (15000/32780) I figured maybe if I delete this it will free up some space then I wont get the “out of memory” error message.

Throws a bit of a spanner into the works.

First I’ll explain that the memory issue you are getting right now is RAM (basically how much memory your site is using to process the request), the registration data is stored within the database on disc (the storage space needed to store the data, not process it), its different memory so deleting data isn’t going help you here.

Just to clarify, you are getting the above memory exhausted error when you go to Event Espresso -> Registrations?

Or when you export registrations? or both?

Do you know which PHP version your server is running?

If not, go to Event Espresso -> Maintenance -> System information (tab at the top)

Search there in your browser for ‘php version’, which version number does it show?

The support post ‘Fatal Error: Out of Memory’ 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