Memory is managed by the GC. Calling Application.Exit() will remove the session from the session cache but it doesn’t release anything until the GC kicks in. If you don’t call Application.Exit() the session will be removed automatically at sessionTimeout * 2. I wouldn’t try to manage memory in .NET. The App Pool is a process in IIS that can serve multiple sites, each site is an AppDomain in the App Pool process.
Please login first to submit.