frenchie frenchie - 2 months ago 18
ASP.NET (C#) Question

maximum RAM avaiable for an asp.net app

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?

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

Thanks.

Answer

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.

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.

You may also need to increase the Max memory the application pool in IIS can use.

Also see the maximum memory allowed for w3wp worker processes on 64-bit IIS.

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?

Comments