views:

233

answers:

2

Hi,

I am getting "Out of memory exception" when assigning values in session variables. The session values are maintained in stateserver. How to increase the size of the session stateserver memory? or any other option?

Thanks, P.Gopalakrishnan.

A: 

Couple of quick options:-

  1. Use a 64bit system to run the stateserver and give it plenty of storage, this is not necessarily lots of RAM (although that helps performance) but a seriously oversized Pagefile would do, use a speedy RAID set up to minimise the impact of the paging.
  2. Use a SQL server based state store instead.
AnthonyWJones
A: 

Every object which you store in session is serializable?

Avoid to add null object in session. It will fail while deserializing.

Ricardo