Support

Home Forums Event Espresso Premium Fatal Error – Allowed Memory Size

Fatal Error – Allowed Memory Size

Posted: August 16, 2018 at 6:14 am

Viewing 2 reply threads


Calypsobob

August 16, 2018 at 6:14 am

Error Message =
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 73728 bytes) in *redacted*/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Autoloader.helper.php on line 89…..
Previous post requested = Josh wrote:

Hi Calypsobob,

You’ll need to ensure available memory is allocated to WordPress. For example you can add:
define( ‘WP_MEMORY_LIMIT’, ‘512M’ );

to your site’s wp-config.php file. There’s more info here:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Still experiencing the same problem. Allocated memory is 2GB on the server. Please see the php.ini set up below.

asp_tags = Off
display_errors = On
max_execution_time = 1000
max_input_time = 80
max_input_vars = 1536
memory_limit = 768M
post_max_size = 128M
session.gc_maxlifetime = 1440
session.save_path = “/tmp”
upload_max_filesize = 128M
zlib.output_compression = Off

  • This topic was modified 6 years, 3 months ago by Josh. Reason: removed server paths


Josh

  • Support Staff

August 16, 2018 at 6:24 am

Hi,

Your PHP.ini is setting the memory_limit to 768M, so that’s not giving you 2GB. Have you made the edit to the wp-config.php file? The PHP error says PHP only has 2MB (that’s an M, not a G) to work with.

You could contact your web host to help you get this sorted out. Event Espresso support staff does not have access to your server.


Tony

  • Support Staff

August 16, 2018 at 6:26 am

Hi there,

Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 73728 bytes)

Is that the correct value shown?

2097152 is roughly 2MB, which pretty much no WP site can run on correctly.

Still experiencing the same problem. Allocated memory is 2GB on the server. Please see the php.ini set up below.

Where is the 2GB set? Oo the PHP.ini settings you posted you have 768M:

memory_limit = 768M

But either way, it appears that setting is being overridden and your site has 2MB available.

The error your running into isn’t an error from EE itself, EE is triggering the error because it’s trying to load its files and your server is running out of memory. Somewhere on your server, a limit of 2MB is being set on the memory, if as you say you’ve set the above in php.ini then somewhere else something is overriding that value.

Viewing 2 reply threads

The support post ‘Fatal Error – Allowed Memory Size’ 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