Mem tuning for new Docker "community" build
- /e/ version: /n/a
- Device model: n/a
- Reproducible with the last /e/ version: n/a
- Reproducible with LineageOS: n/a
Summary
No building mem (Xmx) tuning.
This improvement concerns
-
UI -
Behavior -
Privacy
Description
According to howto https://doc.e.foundation/how-tos/build-e, building is limited to a default Xmx4G. With previous Docker howto, one can tune Xmx with ANDROID_JACK_VM_ARGS var. Default 4G is way too low !
What is the improved behavior?
User could use an env var to set Xmx.
What does it bring?
Faster builds, using all RAM available.
Examples
Tried to add "-e "ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx20G" " to Docker run command, seems to work.
Validation
See example