开发者

Setting of IIS memory settings for ASP.NET

开发者 https://www.devze.com 2022-12-28 20:39 出处:网络
We are running an ASP.NET app on a web server with 4GB+ of memory in IIS 6.After reading many articles, it states that we need to set the \"maximum memory used\" for the Application Pool to 800mb to e

We are running an ASP.NET app on a web server with 4GB+ of memory in IIS 6. After reading many articles, it states that we need to set the "maximum memory used" for the Application Pool to 800mb to eliminate the "out of memory exceptions" that are happening for us. However, what should the "maximum virtual memory" in the Application Pool be set to? I can't find information as to what that should b开发者_运维百科e set to.


The first thing you need to cover is whether you need so much memory in a web application. Our experience tells that a web application should use a reasonable amount of memory. That eliminates out of memory exception forever.

We usually recommend 1024 MB virtual memory as the max virtual memory usage for a pool on x86 machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消