一个asp.net应用程序可用的最大RAM [英] maximum RAM avaiable for an asp.net app

查看:137
本文介绍了一个asp.net应用程序可用的最大RAM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我购买的服务器上我可以放置尽可能多的内存,那么我可以使用最新版本的内容为我的asp.net网络应用程序提供多少内存?

If I buy a server on which I'll be able to put as much RAM as I want, how much RAM can I make available for my asp.net web app using the latest versions of everything?

我问的原因是我打算充分利用InProc会话。

Reason I'm asking is that I plan to use InProc session to its full potential.

谢谢。

推荐答案

除非在启动中设置/ 3GB开关,否则32位Windows Server上的任何进程都限制为2GB .ini 文件,在这种情况下,一个进程可以使用3GB。

Any process on a 32-bit Windows Server is limited to 2GB unless you have set the /3GB switch in your boot.ini file, in which case a process can use 3GB.

如果你使用的是64位服务器,你将被限制为服务器可以提供什么。
请参阅 Windows内存限制和Windows Server Releases

If you're using a 64-bit server you will be limited by what the server can offer. See Memory Limits for Windows and Windows Server Releases.

您可能还需要增加IIS中的应用程序池可以使用的最大内存

另见< a href =https://stackoverflow.com/questions/3631902/what-is-the-maximum-memory-allowed-for-w3wp-worker-process-on-64-bit-iis-7>最大内存允许64位IIS上的w3wp工作进程。

预计服务器负载很重?您是否考虑过使用数据库存储会话,或者没有会话状态的MVC .Net?

Are expecting a heavy load on the server? Had you thought about using the database to store sessions, or MVC .Net with no session state?

这篇关于一个asp.net应用程序可用的最大RAM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆