What is the Maximum memory size limit for ASP.NET application on windows 2008 64bit?
Thanks,
Guy Bertental
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are 2 limits
By itself, you are limited to what 64bit Windows will provide as an addressable space – that amounts to 8TB. When a future version of 64bit Windows expands that maximum you should see that immediately reflected in .NET applications running on the 64bit CLR – there is no hardcoded or .NET architectural limit within the 64bit address space.
However .NET does have a hardcoded limit of 2GB per object. About the only realistic way you can reach this is by defining really big arrays, such as
new int[1000000000]. This is also the main reason for the limit (apart from some issues with memory fragmentation), as the .NET framework standard defines array indexes as anint.