Discussion posts and replies are publicly visible
Abhishek Karumuru Konduru Chaitanya Thanks for your inputs.
Yes, the number of process variables and the data size will impact the memory.
While doing sequential processing, the new thread will be span for each node one by one i.e. once the execution of one node is completed, create a thread for another node. Hence, the number of nodes should not have a major impact on memory.
As mentioned by Konduru Chaitanya and Abhishek Karumuru, a greater number of nodes will increase process history and other logistic data(log, etc.). However, I feel that it should not have much impact on memory since this data should not take much memory/space.
As long as the process instance is active, the PVs holding the data even if the previous nodes are completed. Unless the process is clearing the PVs which are not needed in rest of the process by setting them to null(), the data cannot be garbage collected. so I think that is how it is going to consume memory throughout the process active state.
gaurav_laturkar said:Unless the process is clearing the PVs which are not needed in rest of the process by setting them to null(), the data cannot be garbage collected
PVs in a process keep old versions. setting them to null will not help much.