<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-09-11 22:34 GMT-03:00 Martin Frb <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de" target="_blank">lazarus@mfriebe.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"><span class="gmail-"><div>On 12/09/2016 02:14, Luiz Americo
Pereira Camara wrote:<br>
</div>
</span><span class="gmail-"><blockquote type="cite"><div dir="ltr">
<div>Running windows 10, fpc trunk 32bit, lazarus trunk.<br>
<br>
</div>
<div>In the task manager, i get 42% of memory usage (3,3 GB of
7,9GB) having more then 4GB free<br>
</div>
</div>
</blockquote></span>
32 bit doesnt use more than 4GB, and some goes to the system.<span class="gmail-"><br></span></div></blockquote><div><br></div><div>The system (Windows 10) is 64bit so it can handle all the memory.<br><br></div><div>According to task manager FPC uses about 800MB of memory of the theoretical 3GB of a 32 bit process.<br><br></div><div>See this screen shot. The spike in task manager is due to the compilation: <a href="https://imagebin.ca/v/2unwBT2xsQYH">https://imagebin.ca/v/2unwBT2xsQYH</a> <br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><span class="gmail-">
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>The problems seems related to number of packages installed
(i have 78). Trying to compile in a linux VM with fewer
packges runs fine.<br>
<br>
</div>
<div>In previous times, i rebooted and the compilation suceeded.
Today still not tried.<br>
</div>
</div>
</blockquote>
</span></div></blockquote><div>Tried to compile after reboot without success<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><span class="gmail-"></span>
Switch of smart linking for the IDE. <br>
You can keep the units smartlink-able (for your projects).<br></div></blockquote><div><br></div><div>AFAICS the IDE does not uses SmartLink. Here is the command line compiler:<br><br>C:/bin/code/fpcdev/bin/i386-win32/fpc.exe -gl -vbqewnhi -Sci -dlclwin32 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuinclude/win -Fuframes -Fu. -Fiinclude -Fiinclude/win32 -Fi../images -FE.. -FU../units/i386-win32/win32 -WG @C:\Users\luiz\AppData\Local\lazarus\idemake.cfg -di386 lazarus.pp<br><br>There's no -CX option. Also no <span class="gmail-cmtt-10"><span class="gmail-cmsy-10">{</span><span class="gmail-cmtt-10">$SMARTLINK ON</span><span class="gmail-cmsy-10">}</span> directive in sources<br><br></span></div><div><span class="gmail-cmtt-10">Luiz<br></span></div></div></div></div>