RAM consumption too high when accessing page layout using Delphi

Symptoms

RAM consumption too high when accessing page layout using Delphi

Cause

In the case of using an object which requires an allocation of remarkable memory space e.g. Layout Object, a solution for deallocating this space must be implemented. 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.

Resolution

It is recommended to use the Clean method of the Layout object, 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.

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.