Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop Delphi from generating a RSM file?

I just added the '64 bits platform' to my project and my Delphi (XE7) keeps generating a huge RSM file (which increases the compilation time). According to the Help this should not happen if the 'Include remote debug symbols' option is disabled.

And in my case it is disabled. enter image description here
There is something else to be disabled?

like image 220
Server Overflow Avatar asked Jul 04 '16 10:07

Server Overflow


1 Answers

from http://embarcadero.newsgroups.archived.at/public.delphi.ide/201203/12030416462.html

Delphi XE2 generates RSM files that are several MB in size. As I understand it, these files are for remote debugging. Is there a way to turn off the generation of these files?

Yes. In the Project Options look on the page "Delphi Compiler\Linking" for "Include remote debug symbols" and turn it off if you do Win32 debugging. Note it is necessary for Win64 debugging.

and continuing on http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=20168

The IDE is 32-bit, because that's the only way it can work on both 32 and 64 bit versions of Windows. (Win64 can run 32 bit apps, but Win32 can't run 64 bit apps.) That's why the remote debugger is used for 64 bit and cross-platform apps.

Jeff Overcash from TeamB

Is the reason that Delphi XE2 is not itself really 64-bit?

Sure, then it can't be run on 32 bit OS's. All third party components won't work at all until a 64 bit version of it exists (a 64 bit IDE would not be able to load a 32 bit bpl), this would be a major reason for people not to upgrade too. Supporting both a 32 bit and 64 bit IDE doubles the testing time for little to no benefit.

like image 157
RBA Avatar answered Sep 24 '22 02:09

RBA