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)
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. – wakaDec 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? – kvsbhavaniDec 30 '14 at 8:11
The fequently 'out of memory' in XE7 problem. Some solution to decrease 'out of memory'
Add DDevExtensions and IDEFixPack
DDevExtensions Options --> Compilations --> Check 'Release compiler unit cache of other projects before compiling'
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
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
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 – kvsbhavaniDec 30 '14 at 9:51
I have the same problem ... IDE compiles fine, than crashs and takes hours to open some Units. I'll try these steps. – JlouroMar 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. – kvsbhavaniApr 2 '15 at 10:04
What can be done?
Showing some code you have problems with would be helpful. – waka Dec 30 '14 at 7:30