Original PR: https://github.com/sickcodes/Docker-OSX/pull/206 Author: @sickcodes Created: 3/17/2021 Status: ✅ Merged Merged: 3/17/2021 Merged by: @sickcodes
Base: master ← Head: dyanmic-ram-default
master
dyanmic-ram-default
413b09d
57e8d0c
d4b8a0f
3 files changed (+12 additions, -2 deletions)
📝 CHANGELOG.md (+1 -0) 📝 Dockerfile (+7 -0) 📝 README.md (+4 -2)
CHANGELOG.md
Dockerfile
README.md
Fixes https://github.com/sickcodes/Docker-OSX/issues/197
Reverts https://github.com/sickcodes/Docker-OSX/pull/189
[[ "${RAM}" = max ]] && export RAM="$(("$(head -n1 /proc/meminfo | tr -dc "[:digit:]") / 900000"))" [[ "${RAM}" = half ]] && export RAM="$(("$(head -n1 /proc/meminfo | tr -dc "[:digit:]") / 2000000"))"
E.g. if you have 32GB of ram: max = 31 half = 16
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/sickcodes/Docker-OSX/pull/206
Author: @sickcodes
Created: 3/17/2021
Status: ✅ Merged
Merged: 3/17/2021
Merged by: @sickcodes
Base:
master← Head:dyanmic-ram-default📝 Commits (3)
413b09dUse RAM=max or RAM=half to suit all machines, dynamically.57e8d0cTypo: Use RAM=max or RAM=half to suit all machines, dynamically.d4b8a0fFix RAM math error for -e RAM=max📊 Changes
3 files changed (+12 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
Dockerfile(+7 -0)📝
README.md(+4 -2)📄 Description
Fixes https://github.com/sickcodes/Docker-OSX/issues/197
Reverts https://github.com/sickcodes/Docker-OSX/pull/189
E.g. if you have 32GB of ram:
max = 31
half = 16
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.