1
Good afternoon.
My system has about 30 blp s that are inside a Projectgroup.
When I was at Delphi 7, compiling all the bpl s took about 2 minutes.
Now at Delphi XE7 it takes about 20 minutes.
I don’t know how to resolve this slowness. Anyone has any suggestions?
Grateful.
Take a look, if you are not adding the Source of the frameworks you are using. It is interesting to leave the compilation in release, only with dcus, to dry the project, and speed up the compilation
– Victor Tadashi
From what I see on the screen that is open during the compilation, the slowness occurs in the uses, specifically of two Units I have in the project, one with generic functions and the other being a Datamodule. But how to avoid this? As for the Source of the frameworks are add. And yes, the possible is already with dcus. Thankful. @Victorzanella
– Andrey
Well, his change was great, if we compare the 2007 Delphi with the XE7, I believe it had a great change, mainly when it comes to
generics
, besides the part related to UNICODE. But it does not justify this absurd increase in compile time. 20 Minutes, this is the same real time ?– Victor Tadashi
Yes friend... 20 minutes on a good machine. On a slightly outdated machine, it’s over an hour. From what I’ve seen, the problem is with Delphi XE7 that it picks up to compile big projects. @Victorzanella
– Andrey
Strange, we have a project of 4.5 million lines and the Build all of it takes 5 min max, in an i5 4590 8GB memory, but this in Delphi 10 Seattle. The strange thing is that 20 minutes would have to give an out of Memory in the build. You have built-in Sources in the project ?
– Victor Tadashi
Fix: The project has 4.2 million lines, and Build All takes 1m 38s.
– Victor Tadashi
Amigo, muito loucura.. I don’t know what to do. As far as I know one of the improvements made in Seattle is precisely the issue of compiling great projects link. I’ll see what I can improve around here before making a new migration. Thanks anyway.
– Andrey
Guy before migrating tries to use Fixpack, he helped us a lot with Delphi XE4. http://www.delphifeeds.com/go/s/130032
– Victor Tadashi
@Victorzanella Thank you very much Victor. The Fixpack really helped and a lot in the compilation. Let’s for now stay like this. Thanks again.
– Andrey