在任务管理器可见的情况下以调试模式运行表明它在运行已编译的程序时占用了大约35%的cpu,并且需要一分钟或更长时间才能加载主屏幕,过去大约需要5-10秒.
在环境外运行可执行文件的速度与以往一样快.还有其他人遇到过吗?
解决方法
更新到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 timesIDE 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
07001
问题是由Windows dll(bpl)加载中新引入的优化引起的.它不会影响独立的exe应用程序.
Embarcadero正在与Microsoft合作,在未来的Windows更新和/或修补程序中修复此问题.
更多信息:http://blog.marcocantu.com/blog/2017-june-delphi-packages-creators-update.html