博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Why does Delphi XE7 IDE hangs and fails on out of memory exception?
阅读量:5958 次
发布时间:2019-06-19

本文共 3701 字,大约阅读时间需要 12 分钟。

引自:
 
https://stackoverflow.com/questions/27701294/why-does-delphi-xe7-ide-hangs-and-fails-on-out-of-memory-exception

 

 
 
10
5

I'm using Delphi XE7 IDE and it quite frequently hangs, starts to consume many system resources and fails on exceptions like:

  • system out of memory --> ([dcc32 Fatal Error] F2046 Out of memory)
  • external exceptions
  • [MSBuild Error] The "DependencyCheck" task failed unexpectedly. System.Runtime.InteropServices.COMException (0x8000FFFF): Out of memory at Borland.Build.Tasks.Common.IBDSHostObject.GetFileTime(String filename) at Borland.Build.Tasks.Shared.DependencyCheck.DoGetFileTime(String filename) at Borland.Build.Tasks.Shared.DependencyCheck.GetFileNameTime(String filename) at Borland.Build.Tasks.Shared.DependencyCheck.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

What is the reason for third exception?

What can I do to make it stable ?

closed as unclear what you're asking by , , , ,  Dec 30 '14 at 23:33

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the  page for help clarifying this question.If this question can be reworded to fit the rules in the , please .

 
    
What can be done? Showing some code you have problems with would be helpful. –  
    
This problem is not related to specific project.When i start compiling the project, the ide hangs and throws system out of memory exception.It is occupying almost 800mb of cpu memory. Is there any tool for this problem? –  
3  
Try using the IDEFixPackRegXE7.exe add on with DelphiXE7.  –   
1  
Thanks!! Now i am able to compile without the exceptions –  
    
Delphi XE7 is a "train wreck" as people from EurekaLog put it. We pay lots of money to Embarcadero yet we have to rely on people as Andy (who don't get a dime) to have Delphi fixed.  –   

1 Answer

16accepted

See 

The fequently 'out of memory' in XE7 problem. Some solution to decrease 'out of memory'

  1. Add DDevExtensions and IDEFixPack

    DDevExtensions Options --> Compilations --> Check 'Release compiler unit cache of other projects before compiling'

  2. Use the external MSBuild addresses Here is how:

    Project | Options | Delphi Compiler, set Use MSBuild externally to compile

    Project | Options | Delphi Compiler | Compiling | Debugging, set Use debug .dcus to False

    Project | Options | Delphi Compiler | Linking, set Include remote debug symbols to True

  3. renaming Delphi's c:\Program Files (x86)\Embarcadero\Studio\15.0\bin\Borland.Studio.Delphi.DLL, the IDE will remain stable much longer and you are able to get some work done!! Note the IDE will give you an error when starting up about this DLL being missing. This appears to prevent a lot of the needless churning and burning the IDE was doing that was consuming memory and machine cycles

  4. try starting the IDE with the -noparser option... "BDS.EXE -noparser" this will switch the parser off for the structure pane

 
    
Thanks for your inputs!! I already tried 2nd option.Still it was throwing error.Now i installed idefixpack and it's working fine –  
    
Does the -noparser option work? And which versions support it?  makes no mention of it. –  
    
I have the same problem ... IDE compiles fine, than crashs and takes hours to open some Units. I'll try these steps. –   
    
@CraigYoung Fix Pack will work much better. "noparser" option did work for me but only for some time. So i downloaded idefixpack. You can even try to increase your RAM space. –  

Not the answer you're looking for? Browse other questions tagged    or .

转载地址:http://njuax.baihongyu.com/

你可能感兴趣的文章
Web Service那点事
查看>>
TCP/IP协议体系结构简介
查看>>
WebApi身份认证解决方案:Basic基础认证
查看>>
js求时间差
查看>>
kylin 使用RESTful API 请求
查看>>
hive学习路线
查看>>
MySQL(十三)之MySQL事务
查看>>
不变的动力
查看>>
Java toString()方法的自动调用
查看>>
【Android】利用服务Service创建标题栏通知
查看>>
手指皮肤长期干/粗糙/小裂口问题
查看>>
ecshop验证码图片无法显示终极解决办法
查看>>
php中session_start()函数的作用
查看>>
Leetcode: Encode and Decode Strings
查看>>
iOS - Swift NSDate 时间
查看>>
采用ODAC,ODBC连接Oracle【转】
查看>>
多列等高布局
查看>>
C++语言基础(4)-构造函数和析构函数
查看>>
ASP.NET MVC下使用AngularJs语言(六):获取下拉列表的value和Text
查看>>
对计算机软件专业学生的忠告
查看>>