R
Rob Nicholson
We're developing our first large scale ASP.NET web application and I'm a
little concerned over memory usage of aspnet_wp.exe on the development
server during testing. The application appears to use a lot of memory and
I've got the feeling that it's not all been released.
Some initial questions:
When a session times out, is ASP.NET/CLR supposed to release every resource
allocated during the session?
Is there anyway to display what's happening on a IIS server when it's
running an application? A log of some kind. Just memory per session would be
a start.
Are there any configuration options around memory management of ASP.NET on
IIS?
Despite what I've heard, do you actually have to carry out manual disposal
and memory collection. I've come from the VB6 world where the classic
circular reference (Obj1 points to Obj2 and Obj2 points to Obj1) causes both
objects (and their children) to stay in memory even though Obj1 and Obj2 are
both cleared to nothing. I currently believe the dream that CLR garbage
collection does work. I hope I can carry on with this dream... Waking up
into reality and having to implement cleanup code throughout the application
is more of a nightmare than a dream.
Cheers, Rob.
little concerned over memory usage of aspnet_wp.exe on the development
server during testing. The application appears to use a lot of memory and
I've got the feeling that it's not all been released.
Some initial questions:
When a session times out, is ASP.NET/CLR supposed to release every resource
allocated during the session?
Is there anyway to display what's happening on a IIS server when it's
running an application? A log of some kind. Just memory per session would be
a start.
Are there any configuration options around memory management of ASP.NET on
IIS?
Despite what I've heard, do you actually have to carry out manual disposal
and memory collection. I've come from the VB6 world where the classic
circular reference (Obj1 points to Obj2 and Obj2 points to Obj1) causes both
objects (and their children) to stay in memory even though Obj1 and Obj2 are
both cleared to nothing. I currently believe the dream that CLR garbage
collection does work. I hope I can carry on with this dream... Waking up
into reality and having to implement cleanup code throughout the application
is more of a nightmare than a dream.
Cheers, Rob.