I was watching the course Advanced Appian Developer > Design for Scale Using Patterns and Anti-Patterns > Process Management Patterns.
https://academy.appian.com/#/online-courses/9eec0cd2-199a-4c4e-85a8-cb7d044c0718
At about the 2:10 mark the instructor states "Text variables used by a process remain in cache until the next restart so archiving does not immediately remove all data. Do not save large amounts of data in text strings ..."
This sounds an awful lot like a 'memory leak' to me. I thought that all memory for a process was released when the process is deleted or archived? Is this not the case? When is this memory recaptured? When the server is restarted? If so, how are clients who license Appian through the cloud impacted?
Discussion posts and replies are publicly visible
AFAIK, this does not mean that the memory just piles up. But that memory cache will not decrease until restarted.
Thanks Stefan ... sorry, I'm still confused ... doesn't it mean that every time you start a new process with text PVs that it will allocate more memory that will not be released after process archival/deletion?
The Appian exec engines use a defined amount of memory for holding text values when starting up. This memory will increase if needed, but will not shrink anymore, even if all processes are gone.
A good practice is, to keep large text out of process variables. Creating short lived processes completes that and your system will just keep running.
Thank You!!
You are welcome :-)