X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2FGenCode.php;h=76e6fa6c9d15730a8257b8d90534823c36cb6575;hb=4c056b9b0286d90f890bd795a9f6d54bf2e27397;hp=fe8fa0657670e9e8450c14b7d9a1ea3e5b75a561;hpb=7f943ee5de42b28405828b118700c96aad4516e5;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