From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38167: guix pull takes over 8 GiB of memory to finish if there are no substitutes Date: Sun, 29 Dec 2019 23:41:42 +0100 Message-ID: <87fth292l5.fsf@gnu.org> References: <20191111080635.14f7b39a@scratchpost.org> <87eeyec18l.fsf@cbaines.net> <878somno0f.fsf@gnu.org> <20191226204555.1abe4d21@scratchpost.org> <20191226204828.239470dd@scratchpost.org> <871rsphc5f.fsf@gnu.org> <20191228120128.010d72ee@scratchpost.org> <877e2gbiyv.fsf@gnu.org> <20191228185550.1f2ac413@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46453) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilhG7-0001uc-BV for bug-guix@gnu.org; Sun, 29 Dec 2019 17:42:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilhG6-00023D-9e for bug-guix@gnu.org; Sun, 29 Dec 2019 17:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54354) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilhG6-00022u-6K for bug-guix@gnu.org; Sun, 29 Dec 2019 17:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilhG6-0006Nl-4p for bug-guix@gnu.org; Sun, 29 Dec 2019 17:42:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191228185550.1f2ac413@scratchpost.org> (Danny Milosavljevic's message of "Sat, 28 Dec 2019 18:55:50 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 38167@debbugs.gnu.org Hey Danny, Danny Milosavljevic skribis: > [pid 19221] mmap(0x7fb3f2d48000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE= |MAP_ANONYMOUS, -1, 0) =3D 0x7fb3f2d28000 > [pid 19221] mmap(0x7fb3f2d38000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE= |MAP_ANONYMOUS, -1, 0) =3D 0x7fb3f2d18000 > [pid 19221] mmap(0x7fb3f2d28000, 8388608, PROT_READ|PROT_WRITE, MAP_PRIVA= TE|MAP_ANONYMOUS, -1, 0) =3D 0x7fb3f2518000 > [pid 19221] mmap(0x7fb3f2d18000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE= |MAP_ANONYMOUS, -1, 0) =3D 0x7fb3f2508000 > [pid 19221] mmap(0x7fb3f2518000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE= |MAP_ANONYMOUS, -1, 0) =3D 0x7fb3f24f8000 That=E2=80=99s a malloc loop. > It could be because my modules in GUIX_PACKAGE_PATH contain an import cyc= le > (I don't know whether it does, but I had such a cycle before). And that=E2=80=99s definitely a possibility! Can you try unsetting GUIX_PACKAGE_PATH? (More generally, I recommend against GUIX_PACKAGE_PATH; use a channel or =E2=80=98-L=E2=80=99 when you need.) Thanks, Ludo=E2=80=99.