RAM consumption too high when accessing page layout using Delphi
In the case of using an object which requires an allocation of remarkable memory space e.g Layout Object, we should think about a solution to deallocate this space. This is the situation encountered by some of Delphi users who experienced to set the objects to "nil" in order to delete them. In this case, the deallocation of the associated object was not released from physical memory.
Our recommendation is to use the clean() Method which will remove all types of Blocks and Separators from the Layout. Thereafter this situation will be taken into account and the recovery of memory space is supported.