[SOLVED]Best pratice in RAM management

Answered
0
0

Hi,

there is a better pratice to release the RAM used by Wisej app pool?

Application.exit() release it?

regards

Cristian Zerbinati

  • You must to post comments
Best Answer
2
0

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.