Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: ASPNET
Expertise: Intermediate
Feb 2, 2002



Building the Right Environment to Support AI, Machine Learning and Deep Learning

ASP.NET process recycling

Application recycling is a great feature that lets you configure an application so that ASP.NET automatically shuts it down and restarts it after a given period or a given number of client requests, or when it consumes more memory than the specified threshold. This feature is a lifesaver if the application progressively degrades its performance because of memory leaks - something that might happen if the application uses unmanaged resources. You control application recycling through one or more settings in the tag in web.config. For example, this setting recycles the ASP.NET application every hour:

    <processModel timeout="60" />
Francesco Balena
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date