]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
scripts/build_utils.sh: increase mem per job to 2.2GB 1123/head
authorKefu Chai <kchai@redhat.com>
Thu, 13 Sep 2018 08:46:36 +0000 (16:46 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 20 Sep 2018 12:08:21 +0000 (20:08 +0800)
commit2e2e8b6d5fb43411cec56cea9b2b6cf21ca046d9
tree3c6d4ab20de372d7ced7f75a682a7dc49885da60
parent46487477bf43eea1f059218ecd60ce058c1925ea
scripts/build_utils.sh: increase mem per job to 2.2GB

it's observed that on our arm64 build host, using the existing
$total_mem/1600, n_build_jobs=37 . but we still have following error
when compiling Ceph:

virtual memory exhausted: Cannot allocate memory
make[3]: *** [src/mds/CMakeFiles/mds.dir/SnapClient.cc.o] Error 1

so increase the denominator to 2200 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
scripts/build_utils.sh