There is no settings that sets the cache to recycle. I suppose the problem is coming from the allocated memory for the application pool in which the project runs. Sitefinity 4.2
requires more than 500 mb of memory to operate, if the application pool has allocated around 500mb to Sitefinty when publishing and caching content in memory the limit might be exceeded because of the additional cache and this causes application pool recycle(recycle clears cache). Can you check if the memory is low and allocate more if so?
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items