Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
Will TIBCO BusinessEvents recycle unused concept instances automatically?
Environment:
===========
TIBCO BusinessEvents 3.x,4.x,5.x
All Operating Systems
Resolution:
========
Unlike Java GC, BE will not recycle the instances even if they are no longer accessed. If you do not want to keep an instance, use the Instance.deleteInstance function to remove it from working memory. Setting instance to null will not remove the instance from working memory.
If you are using a state machine to manage the life cycle of an instance, when a state machine ends and the instance should be recycled, you should explicitly delete concept instances in your rules using Instance.deleteInstance function.