* * *

Author Topic: Rebuilding IDE - how much time?  (Read 926 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: 6537
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?
Ada's daddy wrote this:"Fools are my theme, let satire be my song."

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6405
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: 693
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 - fpc trunk 32bit - Windows 10 Pro x64 (1803)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4723
    • 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!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus