Background of the issue:
I am working on a site under development and encountered a PHP fatal error related to memory exhaustion while using WPML. The error message is: [24-Jan-2025 10:30:38 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /var/www/webroot/ROOT/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php on line 139.