<div dir="ltr">I honestly have no idea. It's not an issue I've ever encountered, as I've literally never built Lazarus with a toolchain that wasn't 64 bit. It would seem to be the case though that it is indeed very possible (at some level/point) for it to consume that much memory.<div><br></div><div>It's worth noting I guess that Lazbuild <i>does </i>invoke the FPC instances all at the same time, and by default uses the number of CPUs as the limit. It seems theoretically possible that if you had let's say 8 copies of specifically <b>32-bit</b> FPC running at the same time building Lazarus packages that they could hit a cap that wouldn't be hit with 64 bit binaries.</div><div><br></div><div>Lazarus also for some reason distributes a 32-bit copy of Make <b>3.80 </b>with the 64-bit Windows installer, apparently due to some concerns about makefile compatibility that I think I might vaguely remember from YEARS ago but that certainly haven't existed for a long time... I'm not sure the exact extent to which Make is implicitly invoked as far as Lazarus goes, but I could definitely see something going wrong there (as the Make 3.80 codebase dates back to 2002). Also just because again, 32-bit.</div><div><br></div><div>Either way, native 64-bit is definitely objectively better in various ways, many not necessarily related building Lazarus specifically. As I said I've been building it myself for years, and I use it daily. </div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018 at 6:16 AM Jonas Maebe <<a href="mailto:jonas@freepascal.org">jonas@freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/11/18 00:09, Ben Grasset wrote:<br>
> s just one example, I've seen more than one instance of people on the <br>
> Lazarus forums posting threads asking about how they can work around <br>
> out-of-memory errors while building Lazarus<br>
<br>
Where does the compiler need more than 1.5GB of VM space while building <br>
Lazarus? That sounds like an awful lot, and something we may want to <br>
look into. Especially since Lazarus is not built in one go, but using <br>
several separate compiler invocations.<br>
<br>
<br>
Jonas<br>
_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</blockquote></div>