diff options
author | wangbiao <biao716.wang@samsung.com> | 2024-08-19 16:56:31 +0900 |
---|---|---|
committer | wangbiao <biao716.wang@samsung.com> | 2024-08-19 16:56:42 +0900 |
commit | ef24b9ea0f2d3aea25ab4d559e8de99713dbe3f2 (patch) | |
tree | fdba075eb131409b453bb24ef290b46fad35f718 | |
parent | 1748d60179c340d00113ae50ac48b80d9afc1fca (diff) | |
download | build-ef24b9ea0f2d3aea25ab4d559e8de99713dbe3f2.tar.gz build-ef24b9ea0f2d3aea25ab4d559e8de99713dbe3f2.tar.bz2 build-ef24b9ea0f2d3aea25ab4d559e8de99713dbe3f2.zip |
build: use ulimit -d instead of ulimit -v
Refer to: https://github.com/openSUSE/obs-build/commit/52cec996150a0050ad0c873cc4fc750a35fd460c
Change-Id: Ia218f25524076fa0c68163cec8305f1d32a255de
Signed-off-by: wangbiao <biao716.wang@samsung.com>
-rw-r--r-- | build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -563,7 +563,7 @@ setmemorylimit() { ;; esac done < <(cat /proc/meminfo) # cat for proc stuff - ulimit -v $limit + ulimit -d $limit echo "Memory limit set to ${limit}KB" } |