Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

maximum RAM avaiable for an asp.net app

Tags:

asp.net

iis

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.

like image 661
frenchie Avatar asked Dec 17 '25 20:12

frenchie


1 Answers

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?

like image 80
Daveo Avatar answered Dec 19 '25 21:12

Daveo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!