Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 73c01df

Browse files
committed
Add note regarding composer memory requirements
1 parent 677fe52 commit 73c01df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ As of the version 2.1.0, the SDK includes a tool for the [PGO](https://docs.micr
122122
## Preparing PGO training environment
123123
- the pgo folder in the SDK root dir contains templates and scenarios for PGO training
124124
- 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
125-
- run `phpsdk_pgo --init`
125+
- run `phpsdk_pgo --init`. Note that composer requires huge amounts of memory, so
126+
it may be necessary to set the environment variable `COMPOSER_MEMORY_LIMIT=-1`.
127+
The PGO initialization may not succeed in x86 enviroments.
126128

127129
## Creating PGO build
128130
- compile PHP configured using `--enable-pgi`

0 commit comments

Comments
 (0)