4 hours ago
2 hours ago
Hi Prachaya,
Referencing App Objects within other Objects is not recommended due to the below:
|
The amount of memory used when the process consumes the object into memory will be increased.
This is because when an object refers to another object and is used by a process, both objects are then loaded into memory by the process.
The above example shows a short process containing 3 Objects:
As can be observed on the diagram, when launching the third Object, that contains all the contents from the Notepad Object and an Action that calls the Swingset Object, both Objects are loaded into memory resulting in higher memory usage.
Please also note that the larger the objects are, the higher the differences will become potentially even causing “System.OutOfMemoryException” errors.