There is one more thing that needs to be checked - additional settings for the Pool Pool application - virtual memory limitation. See if it is explicitly set - since it can be automatically recycled, it once exceeds the set limit. Especially if you see an error in the event log, for example:
A workflow with process identifier "****" serving the application pool "your-app-pool-name" requested processing because it reached the limit of its virtual memory.
Natalia Z
source share