Why does Delphi XE7 IDE hangs and fails on out of memory exception?

引自:

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

Why does Delphi XE7 IDE hangs and fails on out of memory exception? [closed]

Ask Question


up vote10down votefavorite

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 ?

delphi delphi-xe7 delphi-ide


shareimprove this question

edited Dec 31 ‘14 at 7:07

asked Dec 30 ‘14 at 7:28

kvsbhavani

6518

closed as unclear what you‘re asking by bummishree.pat18Sir RufoKen WhiteTLama 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 How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

 

    

What can be done? Showing some code you have problems with would be helpful. – waka Dec 30 ‘14 at 7:30
    

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? – kvsbhavani Dec 30 ‘14 at 8:11
3  

Try using the IDEFixPackRegXE7.exe add on with DelphiXE7. andy.jgknet.de/blog/ide-tools/ide-fix-pack – Johny Dec 30 ‘14 at 8:54 
1  

Thanks!! Now i am able to compile without the exceptions – kvsbhavani Dec 30 ‘14 at 9:50
    

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. andy.jgknet.de/blog/ide-tools/ide-fix-pack – All for free Apr 2 ‘15 at 8:13 

show 2 more comments

1 Answer

activeoldestvotes


up vote16down voteaccepted

See Quality embarcadero

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

shareimprove this answer

answered Dec 30 ‘14 at 9:37

Ravaut123

1,9352033

 

    

Thanks for your inputs!! I already tried 2nd option.Still it was throwing error.Now i installed idefixpack and it‘s working fine – kvsbhavani Dec 30 ‘14 at 9:51
    

Does the -noparser option work? And which versions support it? Documentation makes no mention of it. – Craig Young Jan 15 ‘15 at 15:41
    

I have the same problem ... IDE compiles fine, than crashs and takes hours to open some Units. I‘ll try these steps. – Jlouro Mar 24 ‘15 at 22:22 
    

@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. – kvsbhavani Apr 2 ‘15 at 10:04

add a comment

Not the answer you‘re looking for? Browse other questions tagged delphi delphi-xe7 delphi-ide or ask your own question.

时间: 2024-08-27 12:28:39

Why does Delphi XE7 IDE hangs and fails on out of memory exception?的相关文章

Delphi XE7中使用Moto 360

Hello Moto 360 from Delphi XE7(翻译版) 我真的很喜欢我的Moto 360手表.它看起来很棒,也很为我的Android手机的一种延伸,当然最重要的问题是如何使一个应用程序.仅使用RAD Studio X7,Delphi或C + +来设计app.由于新FireUI多设备设计我可以创建UI的自定义视图做出完美的用户界面设计的微风.这里有一些我制作APP的细节,其次是下载我的样品和自定义视图. 底线是,它只是工作,这真的不是一个惊喜.最新的Android设备使用ARMv7

Delphi XE7 安装

delphi xe7是一款跨平台的应用程序开发工具,它能快速开发Windows.Mac.iOS.Android和各种电子产品的平台的应用程序, 新版xe7使用了Microsoft Windows图形用户界面的许多先进特性和设计思想,采用了弹性可重复利用的完整的面向对象程序语言(Object-Oriented Language),通过全新的控件和样式使您的Windows应用变得现代化,具有简单.高效.功能强大的特点. 在移动端方面,delphi xe7提供mobile apps的连结功能,可以支援

Delphi XE7中新并行库

Delphi XE7中增加了新的并行库,和.NET的Task和Parellel相似度99%. 具体内容可以看下面的文章: http://www.delphifeeds.com/go/s/119574 如果你熟悉.NET,这个功能并没有大的新意,可对Delphi程序员来说却非常实用.之前要实现多线程,唯一的办法是使用TThread类,而且过程十分繁琐.新的并行库彻底简化了这个过程. 估计下一步就该实现Async和Await异步执行结构了 另外最近Delphi的排名竟然有所上升并且进了前十,对还在用

试用Delphi XE7制作Iphone6抢购工具

暑期没地方去,闲着无聊,看到Delphi XE7已出,又加上最近香港Iphone6抢购的火热,而我之前也有关注过Iphone6的抢购,故趁此闲暇时光,做个抢购工具给需要的朋友用一下. 程序的流程,主要是借用了Swish大侠的qworker,HTTPS主要是用了Idhttp去实现,数据的保存使用了JSON 程序下载 http://download.csdn.net/detail/cntlis/8002561 具体的预约代码如下,里边代码不算精炼,主要考虑循环次数有限 procedure DoSta

DELPHI XE7 新的并行库

DELPHI XE7 的新功能列表里面增加了并行库System.Threading, System.SyncObjs. 为什么要增加新的并行库? 还是为了跨平台.以前要并行编程只能从TThread类继承进行多线程处理,大家知道TThread类是从WINDOWS的线程API封装起来的,它封装的是WINDOWS的多线程的东西,是不能脱离WINDOWS的,当然是不能跨平台的.DELPHI现在走的是原生跨平台的道路,一切DELPHI的基础类库都要从只支持WINDOWS改为支持多平台,这是一个庞大而缓慢的

Free Lua Scripting Interpreter Library For Delphi XE7 Firemonkey On Android And IOS

http://www.fmxexpress.com/free-lua-scripting-interpreter-library-for-delphi-xe7-firemonkey-on-android-and-ios/ http://blog.spreendigital.de/tag/delphi/ http://blog.spreendigital.de/2015/02/18/verysimple-lua-2-0-a-cross-platform-lua-5-3-0-wrapper-for-

Delphi XE7的安卓程序如何调用JAVA的JAR,使用JAVA的类?

本文使用工具和全部源码下载: http://download.csdn.net/detail/sunylat/8190765 为什么我们要在Delphi XE7的安卓程序调用Java的JAR,使用JAVA的类?如果能够这样做,那么就意味着我们把Delphi开发的安卓程序扩展到了一个更大的开发范围了,理论上可以调用任意JAVA编写的代码,对于同时精通Delphi和JAVA的程序员来说,简直如虎添翼!! 我差不多用了一天时间吧,最终在老猫的帮助下,成功实现了在Delphi XE7的安卓程序中调用JA

Delphi XE7中使用JSON

Delphi XE7有一个对JSON处理的单元,在你需要使用JSON的单元里面引入"System.json",随后你就可以用Delphi自己的json处理类了.我写的小例子只是对包含字符串和数组的JSON进行解析,这两种数据类型,我觉得是实际使用中最常用.有用的类型,所以我仅仅用这两种例子做演示! 演示代码: { 功能:DelphiXE7中使用JSON -------------------------------------------------------------------

delphi XE7 中的消息

在delphi XE7的程序开发中,消息机制保证进程间的通信. 在程序中,消息来自: 1)系统: 通知你的程序用户输入,涂画以及其他的系统范围的事件: 2)你的程序:不同的程序部分之间的通信信息.   什么时候使用消息?       当你写程序的时候,通常是使用事件而不是消息,控件触发事件让你来处理而其内部则是通过消息机制处理的(对你是透明的),从而实现和其他控件之间的通信以及处理系统信息.       不管咋样,有时你确实需要使用消息. 你的程序必须响应一个系统或者框架没有定义的事件(或者没有