From 73c01dfa10a53653cb3ca0f4cbb893d13f2b53a5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 6 Apr 2020 10:43:46 +0200 Subject: [PATCH] Add note regarding composer memory requirements --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a2b77d0..b28052f 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,9 @@ As of the version 2.1.0, the SDK includes a tool for the [PGO](https://docs.micr ## Preparing PGO training environment - the pgo folder in the SDK root dir contains templates and scenarios for PGO training - adjust and execute [doc/phpsdk_pgo_prep_elevated.bat.example](doc/phpsdk_pgo_prep_elevated.bat.example) to open ports required for PHP SDK training servers -- run `phpsdk_pgo --init` +- run `phpsdk_pgo --init`. Note that composer requires huge amounts of memory, so + it may be necessary to set the environment variable `COMPOSER_MEMORY_LIMIT=-1`. + The PGO initialization may not succeed in x86 enviroments. ## Creating PGO build - compile PHP configured using `--enable-pgi`