如何阻止 Delphi 生成 RSM 文件?

How to stop Delphi from generating a RSM file?

我刚刚将“64 位平台”添加到我的项目中,我的 Delphi (XE7) 不断生成一个巨大的 RSM 文件(这增加了编译时间)。根据 Help,如果禁用 'Include remote debug symbols' 选项,则不应发生这种情况。

在我的例子中它被禁用了。
还有什么要禁用的吗?

来自 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.

并继续 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.

来自 TeamB 的 Jeff Overcash

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.