Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CPU overheating because of Delphi IDE

Tags:

delphi

I am using Delphi 7 but I have trialed the Delphi 2005 - 2010 versions.

In all these new versions my CPU utilization is 50% (one core is 100%, the other is "relaxed") when Delphi IDE is visible on screen. It doesn't happen when the IDE is minimized. My computer is overheating because of this.

Any hints why this happens? It looks like if I want to upgrade to Delphi 2010, I need to upgrade my cooling system first. And I am a bit lazy about it, especially that I want to discharge my computer and buy a new one (in the next 6 months) - probably I will have to buy a Win 7 license too.


Update
Delphi XE and XE7 is also plagued by this bug.


Solution below!

like image 902
Server Overflow Avatar asked Dec 07 '22 03:12

Server Overflow


2 Answers

SOLUTION

The 100% CPU utilization problem is caused by a Delphi button (in Delphi's toolbar)!
I like to switch between the new full screen and old Delphi-7-like IDE. There is a button called "dock edit window" that does this. Every time I installed a new version of Delphi, I configured the look of the IDE and put that button handy in the toolbar. After I remove the button, everything works fine.

Conclusion, don't drop this button on your IDE toolbar.


Update 2010
I discovered a similar issue when I open a DPR file in IDE. No solution for this, though.

Update 2011
Yet another similar Delphi bug (solution provided by @Warren P) Delphi XE takes one full core (100% CPU utilization)

Update 2015
I have found the button that was causing the above mentioned issue (100% CPU utilization while editing the DPR file) - It was the 'Use unit' button.

like image 139
Server Overflow Avatar answered Dec 15 '22 00:12

Server Overflow


..it's the way Delphi Action works. Some "buttons" uses Action to monitor things, well if Action on Idle event performs some code this keeps happening taking CPU usage just like you have code performed in an infinite loop.. no much you can do except like you said, dont use that button.

like image 38
hola Avatar answered Dec 14 '22 23:12

hola