Jump to content

A query on the Max Cache Size: is this restricted to 2 GB for a 32 bit environment? What happens if the session state cache size exceeds this limit?

  • Please log in to reply
No replies to this topic

#1 Guest_Ron_*

  • Guests

Posted 08 July 2010 - 07:53 AM

Please note that .NET CLR limits 32-bit processes to use up to 2 GB of memory (limitation in 32 bit platform). OS takes up around 2 Gig for itself out of 4 Gig of maximum permitted memory. And out of the remaining 2 Gig, your worker process and its cache added together should not go beyond 1.7 Gig.

You may get OutOfMemory Exceptions in your application if your cache size grows beyond this limit. In that case, application threads will not be able to store new sessions but the old sessions would still be functional without any problem.

Please note that in 64 bit environment there are no limitations regarding cache size.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users