From 09daa5eee0dd0ccb4e6b7a1daac37733fcb332d5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 28 Jan 2016 13:00:18 +0100 Subject: [PATCH] makebuildserver: default memory to 1024MB, so it runs on normal machines 4 gigs is still a common amount of RAM these days for laptops, if the VM takes almost all of that, it makes the machine drag to almost a halt. Most apps build fine in 1gig of RAM, indeed that's the default for most CI instances, like travis-ci and gitlab-ci. --- examples/makebuildserver.config.py | 2 +- makebuildserver | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/makebuildserver.config.py b/examples/makebuildserver.config.py index 4747dc88..9eae743c 100644 --- a/examples/makebuildserver.config.py +++ b/examples/makebuildserver.config.py @@ -34,7 +34,7 @@ # # debian_mirror = 'http://ftp.uk.debian.org/debian/' -# The amount of RAM the build server will have +# The amount of RAM the build server will have (default: 1024) # memory = 3584 # The number of CPUs the build server will have diff --git a/makebuildserver b/makebuildserver index 6f476625..0ec3eebe 100755 --- a/makebuildserver +++ b/makebuildserver @@ -58,7 +58,7 @@ config = { 'boot_timeout': 600, 'cachedir': cachedir, 'cpus': 1, - 'memory': 3584, + 'memory': 1024, } # load config file, if present -- 2.30.2