2022-04-29, 01:29 AM
I suspect your machine isn't running low on memory, so isn't releasing the memory to the operating system. It's unlikely this is causing any issues on your machine.
This is the way .NET web server applications behave by default. It can be made to behave more like you're expecting, with memory more quickly returned to the operating system, but it comes at the expense of performance. Unfortunately this is a compile option though, so not a setting can put in a config file, so if I change for you, them I'm changing it for everyone.
At this stage I think it's probably preferable to leave it in the default configuration. The memory is still released to the operating system if required, but is there for best performance if the application needs it.
This is the way .NET web server applications behave by default. It can be made to behave more like you're expecting, with memory more quickly returned to the operating system, but it comes at the expense of performance. Unfortunately this is a compile option though, so not a setting can put in a config file, so if I change for you, them I'm changing it for everyone.
At this stage I think it's probably preferable to leave it in the default configuration. The memory is still released to the operating system if required, but is there for best performance if the application needs it.