Stéphane Wierzbicki 45 Posted December 5, 2018 (edited) Hello @Uwe Raabe, I'm getting an unresponsive IDE and massive memory leaks after editing a property with MMX. This is happening on RIO IDE. I've attached a small mp4 video showing you my problem. I'm basically : - Opening a Delphi project - Opening a unit - Scrolling to the desired property and pressing "CTRL E" - Edit property dialog is opening. I then press cancel button Actually : less than 1 seconds later IDE become unresponsive. Task manager is showing a BDS.exe process at more than 27% (I do have a quad core CPU) and eating 4Mb memory every seconds Expected : a working IDE 😉 I tryed to disabled all other experts (GExpert, Madshi madexcept...) in vain. Regards, MMX Massive memory leaks.mp4 Edited December 5, 2018 by swierzbicki Share this post Link to post
Uwe Raabe 2057 Posted December 5, 2018 I wasn't able to reproduce it with these steps on a simple new project. Can you try it again with a new VCL Forms project with a plain Integer property added to the form? I just want to narrow it down to the installation/settings or the actual source file causing this error. Share this post Link to post
Stéphane Wierzbicki 45 Posted December 5, 2018 (edited) 25 minutes ago, Uwe Raabe said: Can you try it again with a new VCL Forms project with a plain Integer property added to the form? This is perfectly working with an empty VCL form project. I guess that the problem comes from my unit. I've attached it. I don't have this problem with Delphi Tokyo. SicsBaseConvertor.pas Edited December 5, 2018 by swierzbicki Share this post Link to post
Lars Fosdal 1792 Posted December 6, 2018 My first impression is that the Rio IDE is sluggish. Resizing the frame of the IDE from left border is jumpy as heck (Single 4K display). Share this post Link to post
Stéphane Wierzbicki 45 Posted December 6, 2018 (edited) Yes, just look at the video. You will notice that even the desktop will be displayed a few milliseconds... I really hope that Uwe will fix this MMX issue and that EMB will fix those nasty drawing bottleneck... Edited December 6, 2018 by swierzbicki Share this post Link to post
Uwe Raabe 2057 Posted December 6, 2018 15 minutes ago, swierzbicki said: I really hope that Uwe will fix this MMX issue I am sorry, but even with your source unit I am not able to reproduce it here. Share this post Link to post
Stéphane Wierzbicki 45 Posted December 6, 2018 Is there a way to help you? Do you have a logging tool or something else that will get you an insight on this? Share this post Link to post
Uwe Raabe 2057 Posted December 6, 2018 First I would like to use the same settings as in your system. Can you export the MMX registry key for me? The key base is HKEY_CURRENT_USER\Software\Raabe Software\MMX\13.0 (I know about the 13.0 as an open issue in the beta). Then, if I still cannot reproduce it here, I will try to compile a special version with some logging. Unfortunately, as long as I have no clue about what is happening here, that can only be some shots in the dark. I am also a bit baffled that no one else reports a similar behavior. Can you rule out any other non-standard addin or a non-standard Delphi installation? Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 (edited) I really don't know why I'm getting this. Process monitor show me this horrible thing : bds.exe is endlessly parsing all search path for .pas files and .dcu as you can see there (this last 15min ....) And more scary : look the blue selection ( bds is using C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\Borland.Studio.ToolsAPI.tlb ) MMX.reg Edited December 7, 2018 by swierzbicki Share this post Link to post
Attila Kovacs 629 Posted December 7, 2018 (edited) did you install delphi for all users or for one user? what if you start it as administrator? There are a lot of access denied entrys. Edited December 7, 2018 by Attila Kovacs Share this post Link to post
Lars Fosdal 1792 Posted December 7, 2018 I disabled theming, and the UI became quite a bit more responsive. Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 2 minutes ago, Attila Kovacs said: did you install delphi for all users or for one user? what if you start it as administrator? There are a lot of access denied entrys. I've used the default install options (like I did for years now). I do of course have admin rights. All my problems disseapers after renaming C:\Program Files (x86)\Embarcadero\Studio\19 to C:\Program Files (x86)\Embarcadero\Studio\----19.0 Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 (edited) 6 minutes ago, Lars Fosdal said: I disabled theming, and the UI became quite a bit more responsive. This is an issue with IDE. It is using Borland.Studio.ToolsAPI.tlb from Delphi Tokyo. If you look at my previous screenshots you will this bds is using C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\Borland.Studio.ToolsAPI.tlb No problem since I renaming the Delphi Tokyo installation folder... Ps : I did reinstall Delphi Tokyo AFTER installing Delphi RIO. Both using Web installer... Edited December 7, 2018 by swierzbicki Share this post Link to post
Attila Kovacs 629 Posted December 7, 2018 (edited) Strange. Also, on a fresh windows, Rio installer creates a ...BDS\19.0 registry entry too. It's empty, but this means they have places where the path is still from tokyo. Edited December 7, 2018 by Attila Kovacs Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 (edited) I've tried tried to re-register all tlb files again with tregsrv 18/11/18 15:55 11.552 Borland.Build.Tasks.Common.tlb 18/11/18 15:55 1.964 Borland.Build.Tasks.Cpp.tlb 18/11/18 15:55 1.832 Borland.Build.Tasks.Delphi.tlb 18/11/18 15:55 59.372 Borland.Studio.Interop.tlb 18/11/18 15:55 196.728 Borland.Studio.ToolsAPI.tlb 19/11/18 00:55 8.972 Embarcadero.Studio.Modeling.tlb 18/11/18 15:55 3.324 stdvcl40.tlb I've also correctly renamed Tokyo folder. This didn't help neither. Here are screenshot of process monitor having these filters : Process name is bds.exe Path contians 19.0 So as soon as I start Rio here is what we can get : bds.exe is using wrong path : c:\program files (x86)\embarcadero\studio\19.0\Bin\etm.exe insteand of c:\program files (x86)\embarcadero\studio\20.0\Bin\etm.exe Edited December 7, 2018 by swierzbicki Share this post Link to post
Uwe Raabe 2057 Posted December 7, 2018 Can you please check the registry entries under HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{FDAED0FF-DD92-42C8-BB2C-F1759632FDB8}\InprocServer32? Especially the version values for Assembly and RuntimeVersion? Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 4 minutes ago, Uwe Raabe said: Can you please check the registry entries under HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{FDAED0FF-DD92-42C8-BB2C-F1759632FDB8}\InprocServer32? Especially the version values for Assembly and RuntimeVersion? I don't have this regestry entries Share this post Link to post
Uwe Raabe 2057 Posted December 7, 2018 Well, that is strange! The {FDAED0FF-DD92-42C8-BB2C-F1759632FDB8} is the CLSID value found under HKEY_CLASSES_ROOT\Borland.Studio.ToolsAPI.BorlandIDE. Do you have a different value there? Please check the RootDir entry in HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0, too. I get the feeling that your installation is completely borked. Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 14 minutes ago, Uwe Raabe said: Well, that is strange! The {FDAED0FF-DD92-42C8-BB2C-F1759632FDB8} is the CLSID value found under HKEY_CLASSES_ROOT\Borland.Studio.ToolsAPI.BorlandIDE. Do you have a different value there? Please check the RootDir entry in HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0, too. I get the feeling that your installation is completely borked. Share this post Link to post
Uwe Raabe 2057 Posted December 7, 2018 So can you find that CLSID {FDAED0FF-DD92-42C8-BB2C-F1759632FDB8} anywhere else if not under HKEY_CLASSES_ROOT\Wow6432Node\CLSID? Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 2 hours ago, Uwe Raabe said: So can you find that CLSID {FDAED0FF-DD92-42C8-BB2C-F1759632FDB8} anywhere else if not under HKEY_CLASSES_ROOT\Wow6432Node\CLSID? I finally found it : Share this post Link to post
David Millington 79 Posted December 7, 2018 Hi @swierzbicki, Did you install with the ISO installer, or the GetIt installer? I'm not certain from the name "swierzbicki" who's behind the account :) Were you on the beta and did you install any beta builds on this same machine? Cheers, David Share this post Link to post
Uwe Raabe 2057 Posted December 7, 2018 14 minutes ago, swierzbicki said: I finally found it : Fine! There should be several subkeys for each Delphi version. Here is how it looks on my system: Please make sure that the entries in InprocServer32 match the corresponding values found in the 26.0.0.0 subkey. Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 (edited) 22 minutes ago, David Millington said: Hi @swierzbicki, Did you install with the ISO installer, or the GetIt installer? I'm not certain from the name "swierzbicki" who's behind the account 🙂 Were you on the beta and did you install any beta builds on this same machine? Cheers, David Hi David, Thank you for jumping in. I only installed from the GetIt installer. Well, swierzbicki stand for Stephane WIERZBICKI (you should find me in your records). I was on the beta and I did install all beta builds on this very same machine. Regads, Ps : after installing Delphi RIO with GetIt installer : - I did uninstall Delphi Tokyo (previously installed with ISO) and remove all BDS\19.0 keys (HKCU and HKLM) - I did install Delphi Tokyo again with GetIt installer Edited December 7, 2018 by swierzbicki Share this post Link to post
Stéphane Wierzbicki 45 Posted December 7, 2018 1 hour ago, Uwe Raabe said: Fine! There should be several subkeys for each Delphi version. Here is how it looks on my system: Please make sure that the entries in InprocServer32 match the corresponding values found in the 26.0.0.0 subkey. Uwe, does it makes sense if you export me those keys? As you see I don't have even Tokyo keys... Regards Share this post Link to post