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

Source: Internet
Author: User

Citation: https://stackoverflow.com/questions/27701294/ Why-does-delphi-xe7-ide-hangs-and-fails-on-out-of-memory-exceptionwhy does Delphi XE7 IDE hangs and fails on out of Memor Y exception? [Closed]

Ask Question
Up vote10down votefavorite5

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

    • 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's the reason for third exception?

What can I do it stable?

Delphi Delphi-xe7 Delphi-ide
shareimprove this question edited Dec " 7:07    asked dec" at 7:28 kvsbhavani651 8
closed as unclear what's your ' re asking by Bummi, shree.pat18, Sir Rufo, Ken White, Tlama Dec ' 23:3 3

Please clarify your specific problem or add additional details to highlight exactly what are you need. As it's currently written, it's hard-to-tell exactly what do you ' re asking. See the What to Ask page for help clarifying this question. If This question can is reworded to fit the ' rules in the ' Help Center ', please edit the question.

 &nbs P;  
What can is done?  showing Some code you has problems with would be Helpful. – waka dec" at the menu
 &nbs P;  
this problem is not related to specific Proj Ect. 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 + at 8:11< /span>
try using the Idefixpackr EgXE7.exe add on with Delphixe7. andy.jgknet.de/blog/ide-tools/ide-fix-pack – johny dec at 8:54 
thanks!! Now I am able to compile without the Exceptions – kvsbhavani dec 30 ' + at 9:50
Delphi XE7 is a "train wreck" as people from Eurekalog put it. We pay lots for Embarcadero yet we have to rely on people as Andy (who don ' t get a dime) to the have Delphi fixed. Andy.jgknet.de/blog/ide-tools/ide-fix-pack–all for free APR 2 ' at 8:13
Show2More comments
1 answeractiveoldestvotes
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's 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 would remain Stable much longer and you is able to get some work done!! Note the IDE would give you a error when starting up is about this DLL being missing. This appears to prevent a lot of the needless churning and burning the IDE is doing that is consuming memory and machine Cycles

  4. Try starting the IDE with THE-NOPARSER option ... "BDS. Exe-noparser "This would switch the parser off for the structure pane

ShareImprove this answer answered Dec at 9:37Ravaut1231,935
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 at 9:51
Does the -noparser option work? and which versions support it? Documentation makes no mention of it. –craig Young- Jan at 15:41
 &nbs P;  
i have the same problem ... IDE compiles fine, than Crashs and takes hours to open some Units. I ' ll try these steps. – jlouro mar "at 22:22 "; span>
@CraigYoung Fix Pack would work much better. "Noparser" option did the work for me, but only for some time. So I downloaded idefixpack. You can even try to increase your RAM space. –kvsbhavani Apr 2 ' 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.

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.