Reputation: 11435
There is a known bug in the last few versions of Delphi that causes a memory leak when compiling large projects and I don't think it has a work around, if it does I'd like to know.
But, if this is just a problem that has no solution, how would one go about designing a build server for a situation such as this?
I might need to have the build server restart itself between builds and pick up where it left off, but that seems cumbersome.
Upvotes: 2
Views: 164
Reputation: 612954
This is a bug which afflicts the IDE, but won't afflict a build server. That's because the build server does not invoke the IDE. A build server uses the command line compiler to perform the compilation.
Even if the command line compiler had a bug like this it likely would not affect the build server. That's because each time the build server starts a build action, it creates a new process to perform the build. And when that single build is complete, that process terminates. So even if the command line compiler had a memory leak bug, it would not matter because once the compilation was complete, the process would terminate and the memory would be re-claimed by the system.
Upvotes: 12