X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2FGenCode.php;h=76e6fa6c9d15730a8257b8d90534823c36cb6575;hb=7e4082b90d1ad76e79f70d80b3f6173fd6591704;hp=fe8fa0657670e9e8450c14b7d9a1ea3e5b75a561;hpb=4c68b3ac2f3b9539f5d8918632bfd7a460633f04;p=civicrm-core.git diff --git a/xml/GenCode.php b/xml/GenCode.php index fe8fa06576..76e6fa6c9d 100644 --- a/xml/GenCode.php +++ b/xml/GenCode.php @@ -14,7 +14,8 @@ switch ($memLimitUnit) { } if ($memLimit >= 0 and $memLimit < 536870912) { - ini_set('memory_limit', '512M'); + // Note: When processing all locales, CRM_Core_I18n::singleton() eats a lot of RAM. + ini_set('memory_limit', -1); } date_default_timezone_set('UTC'); // avoid php warnings if timezone is not set - CRM-10844