We have a build pipeline that sometimes gives the following error:
C:\Program Files (x86)\JomiTech\TwineCompile\TCTargets120.Targets(776,5): error : Fatal: Out of memory
When the pipeline is rerun it often does succeed. This strongly suggests it is a random error as each time the pipeline runs a new VM is created from the same baseimage so the start state is identical and is not influenced by the previous run. The command we use for building id:
jtmake -B -p:BCC_ExtendedErrorInfo=false -ide"12.0" Alle.groupproj
The group contains many projects but I have only seen the error occur on the large projects. Mostly on one with over 500 cpp files.
The VM has 8GB of memory and i have not seen memory usage go above 4.5 GB.
Any suggestions for resolving/finding the cause of this?
Out of memory
Re: Out of memory
Which compiler are you using? (Classic, Win32 CLANG, Win64 CLANG, Win64 Modern)?
Jon
Re: Out of memory
It sounds like your projects are running into the linker memory bug. Try some of the suggestions on this page and see if it resolves your issue - https://docwiki.embarcadero.com/RADStud ... ory_Errors
Jon