G
Guest
Our system maintains session state using the ASP.NET State Server service. We expect some of our session state objects to be over 85K, which categorizes them to be VLO's (very large objects) in terms of .NET memory allocations. This means that these objects will be allocated in a special managed heap for large objects. This makes sense since this would require some work for the garbage collector to move and compact these objects during a GC (garbage collection). Regardless, this means that these objects will eventually be placed in generation 2 of the directed graph of objects that the GC maintains
My questions are the following
1) When do objects contained within the state server get garbage collected? When the session "ends"?
a) If this is true, what event triggers the state server to tell it the session has ended?
2) Can I say that the objects will be ready for collection when I call Session.Abandon()? I heard that Session.Abandon() only signals the end of a Session for in-proc mode. Is this true
3) Does the fact that our objects are allocated on a separate "special" heap for very large objects influence how they are garbage collected
Thanks
Fran
My questions are the following
1) When do objects contained within the state server get garbage collected? When the session "ends"?
a) If this is true, what event triggers the state server to tell it the session has ended?
2) Can I say that the objects will be ready for collection when I call Session.Abandon()? I heard that Session.Abandon() only signals the end of a Session for in-proc mode. Is this true
3) Does the fact that our objects are allocated on a separate "special" heap for very large objects influence how they are garbage collected
Thanks
Fran