Fix memory limits
memory-swap actually means 'memory and swap together'.
This commit is contained in:
parent
290af04d1f
commit
5dfc2d3bb9
@ -21,7 +21,8 @@ PODMAN_BUILD_ARGS=(
|
||||
--no-hosts
|
||||
# Limit the memory to be used.
|
||||
--memory=20G
|
||||
--memory-swap=1G
|
||||
# memory-swap is the sum of RAM and swap.
|
||||
--memory-swap=21G
|
||||
--shm-size=2G
|
||||
# Share the gentoo repo, overlays etc.
|
||||
-v "${REPOS}:/var/db/repos:ro"
|
||||
|
@ -22,7 +22,8 @@ PODMAN_BUILD_ARGS=(
|
||||
-ti
|
||||
# Limit the memory to be used.
|
||||
--memory=20G
|
||||
--memory-swap=1G
|
||||
# memory-swap is the sum of RAM and swap.
|
||||
--memory-swap=21G
|
||||
--shm-size=2G
|
||||
# Share the portage configuration.
|
||||
-v "${PACKAGE_USE}:/etc/portage/package.use:ro"
|
||||
|
Reference in New Issue
Block a user