Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RAD studio takes very long time to open

I was using RAD 10.1 (Berlin) with no problem until now... Last month I applied Windows Creator Update and was occupied by other businesses... Now, each time I start the IDE, the loading progresses quickly up to "All design time packages loaded". At this time RAD studio sits on its splash window and consumes ~25% CPU. It takes at least 10 minutes before the IDE appears...

I've installed RAD 10.2 (Tokyo) and all provided patches, hoping for a fix... But the problem remains the same.

I can't go back to previous version of Windows 10 (more than 10 days after install).

I've already searched for an answer and Matthias E suggested that it was linked to https://quality.embarcadero.com/browse/RSP-17972. But, in my case, the (very) long period stands only for IDE loading even when there is no project to (auto)load. I'm not talking about the time-period to load the project or to start project execution or even to start the application execution. Once the IDE has been loaded (after ~20'), everything (editing, compilation, building, debugging, execution) is working quickly... I have become accustomed to never close the IDE once opened but this is particularly disturbing.

Could you help me ?

--- Edited ---

For those who cannot access the link above, here is the content :

Details

Type:    Bug Bug
Status:    Open Open
Priority:    Major Major
Resolution:    Unresolved
Affects Version/s:    10.2 Tokyo, 10.1 Berlin Update 2
Fix Version/s:    None
Component/s:    Debugger, IDE (Development Environment), Libraries/Frameworks
Labels:    None
Platform:    Windows 10 
Language Version:    English
Edition:    Professional
InternalID:    RS-83785
InternalStatus:    Open

Description

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*

--- ---

like image 365
Mouscap Avatar asked Oct 30 '22 04:10

Mouscap


1 Answers

Thanks to Lieven Keersmaekers's suggestion to use procmon, I was able to find the cause of the problem. RAD studio was heavily trying to access an enormous (128 GB) zip backup file (see : qed-electronic.com/Download/170808-ProcMonTrace.jpg ). I've simply moved the backup file to another location and RAD studio now starts as before. I have no idea why RAD wanted so much to access this file : none of my project files were located in this zip. The Windows Creator Update was apparently not guilty...

like image 83
Mouscap Avatar answered Nov 15 '22 07:11

Mouscap