I am trying to track down the cause of periodic slowness when using FinalBuilder 5.5 to build our applications. Is anyone aware of an issue that would cause our compiler (Delphi 7's DCC32.exe) to slow down due to excessive page faults? It behaves as if it doesn't see the available RAM and it starts to swap to the Page File. When it's slow, Task Manager shows that DCC32 has low CPU usage but high Page Faults. When it's fast (that is, when it's "normal"), Task Manager shows that DCC32 has much higher CPU usage.
Our Build Machine: We are running FinalBuilder 5.5.0.707 on Windows XP Professional Version 2002 Service Pack 2. The machine is a Pentium 4 3.20GHz with 1GB of RAM.
We build a suite of 38 applications, Windows services, and utilities. When it's slow, what should be a 6 minute build turns into 30 to 90 minutes!
While I might consider adding an extra GB of RAM help, Task Manager shows lots of available RAM so it's not evident that this would help. On the other hand, in another message on 19 Nov 2009, Vincent said:
FinalBuilder is a 32 bit process, so can only access 2G of memory no matter what the machine has installed. FinalBuilder also hosts the .NET CLR, which appears to be loading assemblies in a manner that makes it impossible for the native memory manager in FinalBuilder to allocate large contiguous chunks of memory.
Therefore, could an extra GB (from 1 to 2GB) of RAM help?
Some other things to consider:
-
If I reboot the build machine, the speed is usually (but not always) back to normal.
-
The problem seems to be getter worse as the months go by.
-
If I build an application from the command line, it is always quicker (2s vs. over 10s when compiled by FB when it's slow).
-
We are running Symantec's antivirus on the build machine. I've seen no difference if I turn it off.
Daniel Comeau
"Melissa & Doug LLC"