From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gHlMCo8nkGD+YQAAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 18:40:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8DD3BY8nkGD/GAAAB5/wlQ (envelope-from ) for ; Mon, 03 May 2021 16:40:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 968C51EE5B for ; Mon, 3 May 2021 18:40:46 +0200 (CEST) Received: from localhost ([::1]:36690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldbcj-00064V-OF for larch@yhetil.org; Mon, 03 May 2021 12:40:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldbc3-00062T-Ht for bug-guix@gnu.org; Mon, 03 May 2021 12:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldbc2-0005Ge-Lk for bug-guix@gnu.org; Mon, 03 May 2021 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldbc2-0000Ta-Hm for bug-guix@gnu.org; Mon, 03 May 2021 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48178: Out of memory error when generating a docker-image. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 May 2021 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48178 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Roel Janssen Received: via spool by 48178-submit@debbugs.gnu.org id=B48178.16200599541807 (code B ref 48178); Mon, 03 May 2021 16:40:02 +0000 Received: (at 48178) by debbugs.gnu.org; 3 May 2021 16:39:14 +0000 Received: from localhost ([127.0.0.1]:47397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbbG-0000T5-9U for submit@debbugs.gnu.org; Mon, 03 May 2021 12:39:14 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldbbE-0000Sz-1c for 48178@debbugs.gnu.org; Mon, 03 May 2021 12:39:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0D9BB5C013B; Mon, 3 May 2021 12:39:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 03 May 2021 12:39:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=L6LcDUhnPeY55GyPt9DzBxUR B8NJ2snpYNgAnMr/WbY=; b=p1a9+C9i+NCwfUwFuatwB9BcQTxitIMEHVBgWYMY QEt1QIX9EJXm4Ow7j8VjSnbwlLl/3y+Am1CJpVEI0YV9ztSAWHERRo3Ratwu4UxU y9EriL727W28CNjqdCnTEoclMXEXRroTHSCqtP1ZbKTDyZhg7n0XtRQRwZnSjdcr NAE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=L6LcDU hnPeY55GyPt9DzBxURB8NJ2snpYNgAnMr/WbY=; b=k5wYgYap3kLwcAfzgZDrRa CuNo1Pkb8m7Ubesy+F05XmUwLCPI/ZBNWlcBDoKS/fckiZ6rJrFyxkh4We6bMWPB f/bOnNHsdKAKMo3cif5/TUWxnBPLKRm8/sKleANQFzY7b4EZOuaXr9tlPuQrpdEL o2nkQ51I7tlEIhknmnsM6HF14C86DRh764IzukO95s7ZjRGh6ukiieFfK8VG1/lW vK2cIx18GCUIMVCjcsCAbQAUPu95deZ8JZNC6U1Q7cHgfR/RiQYflTQvSPF50s5x PoLjbRS7Y0CzXYE/UYcF0Yomxfmh6L4qZru9fQHgxapHhVxy+QxPWPOEvhxX29Ig == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefgedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff vefgnecukfhppeduiedvrddvudejrdeffedrudduvdenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (d-162-217-33-112.ct.cpe.atlanticbb.net [162.217.33.112]) by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 May 2021 12:39:05 -0400 (EDT) Date: Mon, 3 May 2021 12:39:04 -0400 From: Leo Famulari Message-ID: References: <2f30ed4cd1e7154fc49f800a2d8950df2ac6bc8f.camel@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f30ed4cd1e7154fc49f800a2d8950df2ac6bc8f.camel@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48178@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620060046; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=L6LcDUhnPeY55GyPt9DzBxURB8NJ2snpYNgAnMr/WbY=; b=ofEELnCjs7wwM1KTeUNfNzUd9JsMiBkqtOz+fKxPsZG4Lmip/5qWoVR8sbmD+dF3gVFJgT Bl/POWfH7nOOI7w/cayuvRnnqPKEk6l9S8+tqYKdL9bB1RyzoF/DIgL9Hb0+hmsBZME8op 0F0t6A/LJoCUQbCDQou2Eyt7VDmWKf6cjPwZ1h3Xc+yuFlVvXYWI1g0HDSjbLINyWR9zbt iO23XFgf3jhD5na+QZ/RaGH+KrdvpO0SYHxWfZ5MUSsQqlNxXIPgRrc4Nsdjwi/FqE14sb gbioumsTrfbUiNALd9ZBLVRjgO68kFvRtFME45J0dVYMZ3m6nUbmLx+m0I+c9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620060046; a=rsa-sha256; cv=none; b=m8b29gGhtLXsKftIGvYmjW7u/pha8CuHIYzwFcT5Dgs/AHgnkTR6lPsGz0+IXfkw05pYOZ IqubkgdKGzVsHJIEVekhy+RLDNJPDJ9ExsI7D6Lgx3GQJqhN4l1MPFdyIBaeQWimFvtX42 l/So0jVtIf5JTCJ198tcyzFbzQ/yQeVo/evwT86IlFmRQZjHBzX7CYHCkvps2EG7haWZFE He/MeczRnQqwpHIuU8i4SPPyKv6ONiyX6YBjtmM1HZP5hiZvgFCdl75mqTJe3cUbyP2vBT XL0+FQk3nTytyFT2N+L9+YlvRmKHvRg7pGZd57ZxqMR6JtueASidVxsetyBiFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=p1a9+C9i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=k5wYgYap; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=p1a9+C9i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=k5wYgYap; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 968C51EE5B X-Spam-Score: -1.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: qHe1W3UqQLuX On Mon, May 03, 2021 at 12:09:36AM +0200, Roel Janssen wrote: > Looking at 'guix/scripts/system.scm', it seems that we always pass 256M > of memory to the VM. After bumping that to 4096M, I was able to > produce a docker image. Can you test somes values that are in between? Like, 512M, 1024M, etc, until we know how much is actually required? If 512M is enough, I don't see a problem with increasing the hard-coded value to that. > I'd like to see what we can do here. Assigning too little memory leads > to problems generating the container, but assigning too much memory wil > l cause problems for computing machines that don't have much memory to > spare. There are some use cases for this code that we'd like to work on low-resource machines (`guix system vm`), and other use cases (like building Docker images) that shouldn't be expected to work on machines with limited RAM. > Would it be a good idea to make it configurable at run-time? Yeah, maybe.