Recent

Author Topic: Rebuilding IDE - how much time?  (Read 2373 times)

YoupMelon

  • New Member
  • *
  • Posts: 13
Rebuilding IDE - how much time?
« on: January 15, 2018, 11:40:33 am »
Hi all,

If you guys rebuild Lazarus, how much time take does this take, usually?

Recently (for the first time) I tried to install a package and rebuild the IDE. But I broke this off after 40 minutes or so.
Is it normal that rebuilding takes so much time, or am I doing something incorrectly?
BTW, I do have an old PC (128 MB).

Many thanks in advance.

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: Rebuilding IDE - how much time?
« Reply #1 on: January 15, 2018, 11:46:10 am »
Even on a raspberry pi it builds in minutes.. 40 minutes is excessive.
What OS? How much disk space? What CPU?
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: Rebuilding IDE - how much time?
« Reply #2 on: January 15, 2018, 11:50:27 am »
128MB is extremely low, I already had more in the nineties.

You don't mention OS, this matters specially when smartlinking, the memory consumption of LD can go through the roof. (1GB+ is possible).

On Windows, the last time I checked for memory requirements, the internal linker eats about 250MB when linking lazarus with smartlinking.

I know it is less without smartlinking, but I don't know those figures by heart.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Rebuilding IDE - how much time?
« Reply #3 on: January 15, 2018, 12:35:42 pm »
90 s: Win 10 x86_64, i5 4440, SSD
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9874
  • Debugger - SynEdit - and more
    • wiki
Re: Rebuilding IDE - how much time?
« Reply #4 on: January 15, 2018, 01:05:01 pm »
Within the 40 minutes, does it reach "linking" ?

Make sure to disable smart linking. smart linking needs lots of memory.
(iirc/afaik open project ide/lazarus.lpi and turn setting of there.

Also if you are low on memory, in tools > options > "message window"
reduce "max parallel processes" to 1 (or they compete for your memory).

But with that low mem, it still will take a lot of time

YoupMelon

  • New Member
  • *
  • Posts: 13
Re: Rebuilding IDE - how much time?
« Reply #5 on: January 15, 2018, 01:08:38 pm »
Many thanks for all respondents!
Great help!

 

TinyPortal © 2005-2018