简体   繁体   English

有没有一种方法可以限制ASP.NET 3.5进程的最大内存大小?

[英]Is there a way to limit the maximum memory size of a ASP.NET 3.5 process?

I have several ASP Dot.Net web sites, and I wish to limit their maximum memory. 我有几个ASP Dot.Net网站,我希望限制它们的最大内存。 Is there a way to achieve this? 有没有办法做到这一点?

You can alter apllication pool settings and set Private Memory Limit (KB) and Virtual Memory Limit (KB) , to what ever memory you want to limit your application with. 您可以更改复制池设置,并将“ 专用内存限制”(KB)和“ 虚拟内存限制”(KB)设置为要限制应用程序使用的内存。 When that quota is reached the application pool will recycle. 达到该配额后,应用程序池将回收。

Check this on how to change the two 检查一下如何更改两者

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM