Subject: Re: bug#40522: ‘guile3.0-guix’sometimes fails to build on i686 (“Too many heapsections”)

From: Ludovic Courtès <[email-masked]>
Date: Thu, 09 Apr 2020 17:33:02 +0200

Hi,

Danny Milosavljevic <[email-masked]> skribis:

> https://github.com/Macaulay2/M2/issues/500 says there it's the Boehm GC being
> configured for small memory by default.

Hmm, weird.  ‘core-updates’ is on libgc 8.x (instead of 7.x), so we’ll
have to check if the same happens.

> They say setting the environment variable GC_INITIAL_HEAP_SIZE (to
> like "50G") helps.  Not sure why.
>
> Also, there's an environment variable GC_MAXIMUM_HEAP_SIZE.

Looks like an ugly workaround, at best.  :-)

Thanks for checking!

Ludo’.