What is the EnableMemorySavingMode property and how does it work?
book
Article ID: KB0084356
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
5.x
Description
Note: This property is not applicable to BW 6.x ===================================
By default this feature is disable in the TRA file. Note that the EnableMemorySavingMode is not Java garbage collection rather it is a BW Process Variable garbage collection. Even when you are not using the Enable Memory Saving Mode feature, Java has its own garbage collection.
All process variables in a running process instance are stored in memory and therefore consume system resources. Memory saving mode allows memory used by a process variable to be released when the value of the variable is no longer needed. When using memory saving mode, as each activity is executed, the list of process variables is evaluated to determine if subsequent activities in the process refer to the variable. If no activities refer to the variable, the memory used by the variable is released.
Memory saving mode can reduce the memory used by actively running process instances as well as potentially improve the performance of checkpoints. This mode is recommended for processes that have large amounts of data. It is turned off by default because it does add some computational overhead which may be detrimental for situations that do not have a memory issue. But it can be also possible to enable memory saving mode for specific process instances by setting the EnableMemorySavingMode.<processname> property to true. (You can enable memory saving mode for all process instances by setting the EnableMemorySavingMode property to true.)
Issue/Introduction
What is the EnableMemorySavingMode property and how does it work?
Environment
TIBCO ActiveMatrix BusinessWorks 5.x
Additional Information
TIBCO BW DOCs, Available Custom Engine Properties.