7
votes

I am running Delphi 5 on a 32-bit PC which recently had Windows 10 installed. The Delphi environment has become extremely slow.

Running in debug mode with Task Manager visible shows that it's consuming about 35% of CPU while running an already compiled program and taking a minute or more to load the main screen where it used to take about 5 - 10 seconds at the most.

Running the executable outside the environment is as fast as it has always been. Anyone else encountered this?

1
The software is 18 yrs old and I am 81 years old! I only do programming now for interest and also fiddling with a stock market program I wrote years ago. I upgraded to Windows 10 because it was available free and I assumed that Windows 7 would pass out of any support. I have always liked Delphi and regretted that after version 5 the cost started go out of my reach. - ron
@Zulukas: It should normally be possible to run Delphi 5 programs on Windows 10 without any big slowdowns. But some changes in Windows 10 might be a hindrance, like new restrictions on certain API calls, different access rights for various aspects of the OS, etc. - Rudy Velthuis
I'm voting to close this question as off-topic because we can't possibly troubleshoot this 18 year old IDE runs slow on Windows 10 issues. A large part of the reason it runs slowly is that Windows 10 requires large amounts of RAM, and running a 32-bit version by definition limits it to 4GB of RAM max. 4GB barely meets the minimum system requirements of Windows 10. - Ken White
Starter edition will suffer the same. Embarcadero is still working on hotfix for their latest version. - Dalija Prasnikar
@Ken White: "4GB barely meets the minimum system requirements of Windows 10". As evident from Windows 10 Specifications & Systems Requirements this is simply wrong. - mghie

1 Answers

9
votes

This is known issue affecting all Delphi versions running on Windows 10 Creators update.

Non-functional debugger after updating to Windows 10 Creators https://quality.embarcadero.com/browse/RSP-17972

The debugger goes haywire for everyone in our organization with Creators and Tokyo/Berlin. Reverting to Windows Anniversary brings back the sanity.

Debugger problems with Tokyo/Berlin and Creators:

App takes a long time to load with modules loading and unloading and re-loading many times

IDE freezes

Memory consumption of bds.exe explodes, sometimes (> 3GB)

I will attached before and after screenshots showing how modules load and unload and re-load with Windows 10 Creators.

I presume these problems have the same root cause(s) than those in https://forums.embarcadero.com/thread.jspa?messageID=884382

Issue is caused by newly introduced optimizations in Windows dll (bpl) loading. It does not affect standalone exe applications.

Embarcadero is working with Microsoft in fixing this in future Windows update and/or hotfix.

More info: http://blog.marcocantu.com/blog/2017-june-delphi-packages-creators-update.html