Skip to content Skip to sidebar

Tagged: 

This topic contains 0 reply, has 1 voice.

Last updated by amirA-10 6 months, 2 weeks ago.

Assisted by: Lauren.

Author Posts
September 10, 2025 at 2:51 pm

amirA-10

Background of the issue:
I am trying to resolve memory exhaustion issues on a production site running WPML. The site is using PHP 8.3 with a memory limit of 1024M. When LiteSpeed Object Cache with a Redis backend is enabled, WPML consumes excessive memory during certain queries. The issue can be seen at hidden link.

Symptoms:
We are experiencing repeated PHP fatal errors due to memory exhaustion. The error message is: 'PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted in sitepress-multilingual-cms/classes/utilities/class-debug-backtrace.php on line 133'. The site runs without fatal errors when the Object Cache is disabled, but with it enabled, WPML objects quickly fill memory.

Questions:
Are there known issues with WPML and persistent object caches (Redis/LiteSpeed Object Cache) that could explain these memory spikes?
Is there a recommended list of WPML-related cache groups/keys that should be excluded from object caching?
Are there best practices to reduce WPML memory footprint?

The topic ‘[Closed] Memory Exhaustion Issues with WPML and Object Cache’ is closed to new replies.