Can I limit the IDE to 2 GB?

The Delphi Seattle IDE can use up to 4 GB of memory, although BDS.exe is a 32-bit program.
This is very good for large projects, but when compiling a small project, sometimes the IDE goes into haywire and starts consuming all available memory.

When it was limited to 2 GB, it would pretty soon fail, and I would get out of memory error, restart the IDE, and that's all right.

However, when working in Seattle on a PC with 4 GB physical memory, the memory status due to lack of memory blocks the PC for 10 minutes or more, because the disk begins to be disassembled.

Is there a way to switch the IDE to 2 GB on a PC with a little RAM inside?

+4
source share
2 answers

We installed Delphi on a virtual machine. There you can easily limit your memory. The virtual machine also does not block the entire computer. The main advantage is that you can access from any computer on the network.

+2
source

There is no configuration switch for what you ask. The IDE executable is marked as a large Aware address in its PE header. The only option is to use the PE editing tool to remove this flag from the executable.

However, changing the exe on the disk triggers copy protection and disables the IDE.

+2
source

All Articles