From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6P7lALpafmR70AAASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 23:59:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yOfHALpafmSCHQEAauVa8A (envelope-from ) for ; Mon, 05 Jun 2023 23:59:22 +0200 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 EE42C3003C for ; Mon, 5 Jun 2023 23:59:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=olz1rReR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686002361; 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: content-transfer-encoding:content-transfer-encoding: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=AWMRNh/YLFSa/M2LV5NjDtUJPIKFLnyQb8dIT0PHHlA=; b=tIplZsg03OUo9En5H1A5ZKu5d6rQ6GC1mms3QCUrLW++927lpQyhQq7Wa5jqM0Cx+/acyP XKZH3nbSkBx8mILR75yjUL5pARXsT2fshf7ILH4hGIH36PZygKYOtEPr6p1N/ZO4Kc3dp1 +tL5D9TlrSsqxu09o0FjEhwBQtCc8b9OTjYMImrSNf0cTUloJl7yZ9dDJLQfnj2uKEgQL1 Gcwoe0DlviDMU8wPThaN2MhmHIpPdl8tPyQKVp8/p0pto5OWse6NhacMh97gIakS5N/aBf IDW15Z1HCSVKYdPOxjIgFibdR+uRmSrcNZim0kndCiShIXV4ApNph0fTehX8Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=olz1rReR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686002361; a=rsa-sha256; cv=none; b=p+vFu8h2IuRHAsS9gZwQcCIahHkptTY/hI+4CK+HaX6BBbi0IdB/R8cyLFvK9QGBiHquiA qVMmflIPs6y6tGJbwAUsrKiM1bgnrN3QiLLL1ZGfWXzuKin9p5uir7jvpK3kULEpQnTijp BgiyDYjFpGzhUvbQ7I0+DToIejbKI132rB1MJqEw/+87la60QBMA75nBrbCHgO8bmfAfHr crx+WFVQgrd29Ff0KtsYfJGYXEASNM2lippCw8+zu1gC3XMVFohgInsqDpMhsLeHK/awMc gtCT6fcws4GeuuRMuYG7uBouqIoCO7r/R6xRaUI/Eh1kG3L/lLabmN+f1wfSBQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6IEB-0000zb-Ip; Mon, 05 Jun 2023 17:59:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6IEA-0000zT-RS for bug-guix@gnu.org; Mon, 05 Jun 2023 17:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6IEA-0000jh-J3 for bug-guix@gnu.org; Mon, 05 Jun 2023 17:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6IEA-0004gS-FQ for bug-guix@gnu.org; Mon, 05 Jun 2023 17:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63852: =?UTF-8?Q?=E2=80=98guix-package-cache.drv=E2=80=99?= eats all your memory with =?UTF-8?Q?=E2=80=98guix-cran=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jun 2023 21:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63852 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63852@debbugs.gnu.org Cc: Lars-Dominik Braun Received: via spool by 63852-submit@debbugs.gnu.org id=B63852.168600229317943 (code B ref 63852); Mon, 05 Jun 2023 21:59:02 +0000 Received: (at 63852) by debbugs.gnu.org; 5 Jun 2023 21:58:13 +0000 Received: from localhost ([127.0.0.1]:50464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IDM-0004fK-QQ for submit@debbugs.gnu.org; Mon, 05 Jun 2023 17:58:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6IDK-0004f7-BY for 63852@debbugs.gnu.org; Mon, 05 Jun 2023 17:58:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6IDE-00007e-M7; Mon, 05 Jun 2023 17:58:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=AWMRNh/YLFSa/M2LV5NjDtUJPIKFLnyQb8dIT0PHHlA=; b=olz1rReRy9RU7x66eVD1 YTXiQexKbOMLsXJG61qGEIibXRAyc3Finma4oe/KdMsCrZFYIfPDWLEcIhKYXVaAAzBN62U44HhG+ 31Ag1EPYtJHrHTlhgar5ixR5CnQzoyBUUElOjNF1k4nDkDZUjX5UZRHeUzEAn5pw+64sD2Y1aHEU8 ugobnqyFpvbM3b6+ZGI8T8bsPEfC2UckjsdYI514wEcz5klZgNoWElDKoFwBj7tLxGmuUk+GBitfB +vXAMSvweXfdON5dsUUWo1uCPX4Y4z9/Ul+V1QiqSN/K9a22o1xNnyVMmV+q00USt74eu+grEJFa3 +URjZc5Or0oATg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6IDE-0002pZ-96; Mon, 05 Jun 2023 17:58:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sfb93kca.fsf@inria.fr> <875y843aln.fsf@gnu.org> <87ttvlhnps.fsf@gnu.org> Date: Mon, 05 Jun 2023 23:58:02 +0200 In-Reply-To: <87ttvlhnps.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 05 Jun 2023 18:34:55 +0200") Message-ID: <87pm69h8r9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: UNKNOWN X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.54 X-Spam-Score: -2.54 X-Migadu-Queue-Id: EE42C3003C X-Migadu-Scanner: in3.migadu.com X-TUID: YfHpRNjoudCg Ludovic Court=C3=A8s skribis: > Ludovic Court=C3=A8s skribis: > >> Ludovic Court=C3=A8s skribis: >> >>> It goes OK until building /gnu/store/6rfaqfq693vda59a55asc4wjjg52ilns-g= uix-package-cache.drv, which >>> consumes memory until it gets OOM-killed. >> >> The culprit is easily found (here on just the 22K packages of =E2=80=98g= uix=E2=80=99, so >> less than half of what you get with =E2=80=98guix-cran=E2=80=99): > > (Beware of =E2=80=9Ceasily=E2=80=9D when the guy doesn=E2=80=99t know wha= t he=E2=80=99s talking about.) > > Turns out the problem is more pedestrian: =E2=80=98r-future-tests=E2=80= =99 depends on > itself. Here=E2=80=99s a patch to prevent that from happening again: https://issues.guix.gnu.org/63917 (We also need to fix the importer.) Ludo=E2=80=99.