Passivation allows a requestor, service, or clipboard page to be saved into the Pega Platform database and reactivated later, helping to free up JVM memory and making more memory available to other requestors.
When a page is passivated, other pages for that requestor remain in memory, and requestor processing continues normally until that page is needed (such as for read access or for update) and is reactivated into memory. When an entire thread is inactive, the thread context is passivated (including the associated clipboard pages). If the requestor remains idle, eventually the entire requestor context is passivated.
When a requestor is activated, the pages that had previously been passivated remain in storage until they need to be activated. If a page is later re-passivated, it is updated accordingly.
By default, passivation occurs for:
- Pages that are idle for at least 15 minutes
- Threads that are idle for at least 30 minutes
- Requestors that are idle for at least 60 minutes
- Passivation time-out settings
Passivation is used to improve system performance by removing pages from the clipboard that have not been accessed by a requestor for a specified period of time.