Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Kor 10 months ago.

Assisted by: Kor.

Author Posts
October 22, 2024 at 2:15 pm #16317947

aureF

Background of the issue:
I am trying to resolve an issue where WPML exhausts my website's memory. My PHP memory is set up at 2 GB, which should be more than sufficient. Despite that, WPML exhausts it, leading to error 500. My problem is the same as this ticket exactly, with the same plugin and the same hosting company: https://wpml.org/forums/topic/memory-limit-issues-due-to-wpml/. I'd like to know how it was solved.

Symptoms:
WPML exhausts website memory, leading to error 500.

Questions:
I'd like to know how the issue was solved in the linked ticket.

October 22, 2024 at 2:33 pm #16318134

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for contacting us. I've checked your Website debug information and I noticed that the WP Memory Limit is below the requirements. The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details
https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'WP_MAX_MEMORY_LIMIT', '256M' );
define( 'WP_MEMORY_LIMIT', '128M' );

After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.

Let me know how it goes.

The topic ‘[Closed] WPML exhausts website memory’ is closed to new replies.