<p>Am 01.04.2016 11:20 schrieb "Henry Vermaak" <<a href="mailto:henry.vermaak@gmail.com">henry.vermaak@gmail.com</a>>:<br>
><br>
> On Fri, Apr 01, 2016 at 09:12:10AM +0000, Mark Morgan Lloyd wrote:<br>
> > Henry Vermaak wrote:<br>
> > >On Fri, Apr 01, 2016 at 12:39:15AM -0400, Anthony Walter wrote:<br>
> > >>My question is can someone look into this issue so that building Lazarus in<br>
> > >>environments where free memory is than 700MB does not result in Lazarus<br>
> > >>build failures?<br>
> > ><br>
> > >I've come across ld running out of memory when linking the lazarus<br>
> > >executable on my (very) old ARM laptop. You can try to pass<br>
> > >--no-keep-memory and --reduce-memory-overheads to ld, at the cost of<br>
> > >performance. I can't see how the build system has anything to do with<br>
> > >it.<br>
> ><br>
> > It's always worked fine for me on things like NSLU-2 provided that the<br>
> > overall memory (i.e. RAM + swap) is at least 512Mb. It will be unfortunate<br>
> > if recent builds of FPC and/or Lazarus have pushed this requirement upwards,<br>
> > but so far I've not seen any problems on a Raspberry Pi (both 1 and 2)<br>
> > running Raspbian or Debian.<br>
><br>
> Yes, I remember that the slug needed swap. Swap is painfully slow,<br>
> though, so I'd recommend reducing ld's memory usage instead. I wonder<br>
> if anyone has tried the gold linker. It was supposed to be faster, I<br>
> don't know about memory usage.</p>
<p>FPC does not support the gold linker (though I don't remember right now what the problems were).</p>
<p>Regards,<br>
Sven</p>