chiark / gitweb /
makebuildserver: default memory to 1024MB, so it runs on normal machines
authorHans-Christoph Steiner <hans@eds.org>
Thu, 28 Jan 2016 12:00:18 +0000 (13:00 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Wed, 3 Feb 2016 13:54:14 +0000 (14:54 +0100)
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
makebuildserver

index 4747dc885136d397102bf2ccee2f05d87e7b8ace..9eae743c4efa98b76d62452eea99bcf5a13e1173 100644 (file)
@@ -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
index 6f476625f84944a9b5421cc71667076a87b93b70..0ec3eebed45101cba12c92df93fa302ff657b4f5 100755 (executable)
@@ -58,7 +58,7 @@ config = {
     'boot_timeout': 600,
     'cachedir': cachedir,
     'cpus': 1,
-    'memory': 3584,
+    'memory': 1024,
 }
 
 # load config file, if present