I'm migrating a Delphi 2007 runtime only project to Delphi XE7. In Delphi XE7, when compiling, it often raises the following error:
Can't load package MyPackage.bpl.
Risorse di memoria disponibili insufficienti per elaborare il comando.
(translated) Not enough memory resources are available to process this command.
And sometimes it raises this other error:
[dcc32 Fatal Error] MyPackage.dpk(682): F2046 Out of memory
The project is very big (it contains 610 units with very complex forms) and I think I should split it into smaller projects but I'm wondering...
When the error occurs, I have to close and reopen the IDE, otherwise it will always show the error on next compile attempts. On the other side, the error never occurs when compiling using the msbuild from command line.
Is it really necessary? Is there something that can be done in order to avoid this kind of problem without dividing the sources in multiple packages?