1) By Archiving a process will there be considerable impact on memory consumptio

1) By Archiving a process will there be considerable impact on memory consumption. We are able to get the process instance from the process tab even after archiving the process (auto archival of 7 days).
So will these process instance which are archived still occupy space in memory ? Do we have to delete those instances every time to improve memory usage ? Is there any other way to improve memory usage ?


2) Which of these will be considered as an active process : process completed using Terminate end event or process completed using just an end event ?
Is there any difference in memory consumption when we complete a process using a Terminate End event when compared to completing a process using an end event?

OriginalPostID-212774

OriginalPostID-212774

  Discussion posts and replies are publicly visible

Parents
  • @michaelg - Point 1 - Only completed or cancelled processes are archived. If a process instance is archived it is never loaded in memory again hence it improves memory usage. The best practice is to modularise your process model in small sub process and archive the processes as early as possible to free memory.
    2) Active processes are the process which has atleast one of the flow active or one of the node active. If you use terminate event in process and the flow reaches it, then process is terminated and completed regardless of active nodes available. So if a flow reaches normal end event and it is the only flow in the process then process completes, else it remains active.
Reply
  • @michaelg - Point 1 - Only completed or cancelled processes are archived. If a process instance is archived it is never loaded in memory again hence it improves memory usage. The best practice is to modularise your process model in small sub process and archive the processes as early as possible to free memory.
    2) Active processes are the process which has atleast one of the flow active or one of the node active. If you use terminate event in process and the flow reaches it, then process is terminated and completed regardless of active nodes available. So if a flow reaches normal end event and it is the only flow in the process then process completes, else it remains active.
Children
No Data