Bug#1024532: gjs allocates 237 GB of RAM during build (!)

Marco Trevisan marco at ubuntu.com
Tue Nov 22 17:44:29 GMT 2022


Hi,

On nov 21 2022, at 1:51 pm, Santiago Vila <sanvila at debian.org> wrote:

> El 21/11/22 a las 11:20, Simon McVittie escribió:
>> In case there's a kernel difference, I've just tried it in a bookworm
>> VM containing bookworm's sbuild and schroot, again with 2G of RAM. That
>> was also successful.
>  
> The package builds fine for me, I never said otherwise, and this is
> not  
> a FTBFS bug.
>  
> I am reporting this as an anomaly (a very big anomaly indeed).

With the gjs upstream hat, I have sadly to say that this is probably
something expected: gjs eavily uses complex templates to generate code
all over the places, and such generated code is all kept in memory by
g++ (and any other c++ compiler at the date I think), thus I don't think
it's an anomaly. I suppose compilers could do some local caching but I'm
not aware of a way of doing that.<br/><signature id="local-ef604057-d194"></signature>



More information about the pkg-gnome-maintainers mailing list