1

I want to know the size of memory used by session state variables including all the sessions present in AppDomain. I got the size of session variable that present in that session. But i want for entire AppDomain.

Thanks, Pravin

Pravin
  • 523
  • 2
  • 5
  • 22

2 Answers2

1

with the help of Application Domain Resource Monitoring you can find the memory usage by application domain. follow this link

http://msdn.microsoft.com/en-us/library/dd997285.aspx
giri-webdev
  • 525
  • 10
  • 20
0

One thing you could try is to loop through the session objects and get the total as mentioned in this SO link.

Community
  • 1
  • 1
Krishna
  • 636
  • 3
  • 8
  • This will only show the session of the user requesting this page, not all users. – KVM Jun 26 '17 at 09:12