mirror of
https://github.com/ansible/awx.git
synced 2024-10-27 00:55:06 +03:00
Handle and document potential memory limit issues
* Increase node memory limit * Add note to docs that you may need to increase container memory thresholds imposed by docker-for-mac and similar tools if you're using them
This commit is contained in:
parent
a9ec7038de
commit
cd7c85490b
2
Makefile
2
Makefile
@ -387,7 +387,7 @@ clean-ui:
|
||||
rm -rf $(UI_BUILD_FLAG_FILE)
|
||||
|
||||
awx/ui_next/node_modules:
|
||||
$(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
|
||||
NODE_OPTIONS=--max-old-space-size=4096 $(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
|
||||
|
||||
$(UI_BUILD_FLAG_FILE):
|
||||
$(NPM_BIN) --prefix awx/ui_next --loglevel warn run compile-strings
|
||||
|
@ -92,6 +92,9 @@ docker exec -it tools_awx_1 bash
|
||||
# add the updated package.json and package-lock.json files to scm
|
||||
git add awx/ui_next_next/package.json awx/ui_next_next/package-lock.json
|
||||
```
|
||||
#### Note:
|
||||
- Building the ui can use up a lot of resources. If you're running docker for mac or similar
|
||||
virtualization, the default memory limit may not be enough and you should increase it.
|
||||
|
||||
## Building for Production
|
||||
```shell
|
||||
|
Loading…
Reference in New Issue
Block a user