> CubicDesign wrote: > Subject: Re: As EXE grows Delphi (7) gets way slower; what to do? > > > I'm using a single CPU, 2.5 gHz system. > > > A dual core will not help you anyway (unless you are running CPU hungry > processes while programming in Delphi) because Delphi does not know how > to use it. Delphi compiler is single threaded (at least Delphi7 it is > but I seriously doubt that they made it multithread)!
While a dual core CPU might not help much with Delphi alone, it will indirectly help by helping with other things like I/O and running all those other applications that inevitably run on a programmer's computer. My list of stuff that's competing for CPU power is fairly long and it doesn't even include a media player! > If you system is clean the other processes (all except Delphi) should > take [together] lees than 1% of your CPU. Also all processes (all > except Delphi) should take less then 200MB of RAM. > A 'normal' swap for a clean system should be also below 200MB (for a > computer with 1GB RAM). All data are for WinXP. Where did you get those numbers? > If you meet the following conditions then you clearly have a clean > system. It also means that you computer is just not enough for your > project. In this case, nothing can help you except a hardware upgrade. > If your mainboard supports a higher CPU then I recommend you to upgrade > it (and do not look for a cheap CPU with a small cache). A 64 bits CPU > also will not help you at all so be careful where you spend your money. Actually I'd specifically say "go for a dual core 64 bit CPU" (if one needs un upgrade). That's because I don't think you can find new 32-bit-only CPU's those days and because both AMD's and Intel's top processor families are multi-core. An 32-bit-only single core new processor is a laptop processor OR a budget processor. Also I'd include some other items in the "upgrade" list: At the top of the list is RAM, second is a FAST hard drive (I'm thinking 10000 rpm here). And to the original poster: Also look for large DFM files in your project. Saving those large DFM files can take a really, really long time. If you find such a beast it probably contains a lot of stuff that can better be left outside the exe (ex: data in TJvData containers, large images in TImage containers). Try moving the data outside the exe and everything will be simpler. -- Cosmin Prund _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

