No Gerenciador dos Serviços de Informações da Internet (IIS), vá para Application Pools
, escolha seu pool de aplicativos Web / sites e, em Recycling
, escolha o limite máximo de memória virtual que o processo de trabalho pode consumir até que seja reciclado.
EstapostagemdoblognoMSDNexplica
When to configure Memory Recycling In most scenarios, recycling based on a schedule should be sufficient in order to “refresh” the worker processes at specific points in time. Note that the periodic recycle is the default, with a period of 29 hours (1740 minutes). This can be an inconvenience, since each recycle would occur at different times of a day, eventually occurring during peak times.
If you have determined that you have to recycle your application pool based on memory threshold, it implies that you have established a baseline for your application and that you know your application’s memory usage patterns. This is a very important assumption, since in order to properly configure memory thresholds you need to understand how the application is using memory, and when it is appropriate to recycle the application based on that usage.