From 3f7c655c8e68d7cb1008adfe7b8f8400c5ff54b5 Mon Sep 17 00:00:00 2001 From: Vladimir Makarov Date: Fri, 19 Aug 2022 20:51:28 +0500 Subject: [PATCH] API Generator `-Xmx` parameter updated to 12Gb --- xcode/build_phases/api_generator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcode/build_phases/api_generator.sh b/xcode/build_phases/api_generator.sh index c7e4a45..20b1d50 100755 --- a/xcode/build_phases/api_generator.sh +++ b/xcode/build_phases/api_generator.sh @@ -228,7 +228,7 @@ api_generator_codegen() . build-scripts/xcode/aux_scripts/download_file.sh ${FILE_NAME} ${DOWNLOAD_URL} - java -Xmx6g -jar "Downloads/${FILE_NAME}" generate-client-code --output-language SWIFT --specification-path ${API_SPEC_DIR} --output-path ${OUTPUT_PATH} --single-file $(is_single_file) + java -Xmx12g -jar "Downloads/${FILE_NAME}" generate-client-code --output-language SWIFT --specification-path ${API_SPEC_DIR} --output-path ${OUTPUT_PATH} --single-file $(is_single_file) } readonly BUILD_PHASES_DIR=${SRCROOT}/build_phases