J
jason
hello everyone,
i have had a suppot ticket open with microsoft for some time to
investigate a memory leak issue we are experiencing on our production
web servers. the web servers host both ASP classic and ASP.NET
applications, and the leak is caused, at least in part, by the ASP.NET
appliactions according to our support engineer. this is what he says:
[begin quote]
After a bit of research I was able to determine more on this stack. The
problem here is we are trying to release a reference on an object who's
DLL is already unloaded from the process. Therefore, we cannot find a
direct coorelation to what it is we are trying to free. Based on other
cases where this was observed, the most likely cause here is the use of
the IIS / ASP intrinsic objects in ASP.Net code, without a call to
Marshal.ReleaseComObject in the associated .Net assembly. In order to
resolve this crash, please have your developers review thier .Net
assemblies that may use the IIS / ASP intrinsic objects and make sure
these assemblies make explicit calls to Marshal.ReleaseComObject. This
should resolve the crash that we have seen here, which has not been the
focus of our case thus far. Do you wish to continue attempts to resolve
the memory leak observed previously and if so, do we have an ETA on
when that data may be available?
[end quote]
my question is, which iis / asp intrinsic objects might be candidates
for this? the only intrinsics i can think of that are in use are the
Session and Application objects, but i assumed that those were cleaned
up by the OnEnd events themselves. does anyone know of some other
common objects that require this marshalling release?
thanks,
jason
i have had a suppot ticket open with microsoft for some time to
investigate a memory leak issue we are experiencing on our production
web servers. the web servers host both ASP classic and ASP.NET
applications, and the leak is caused, at least in part, by the ASP.NET
appliactions according to our support engineer. this is what he says:
[begin quote]
After a bit of research I was able to determine more on this stack. The
problem here is we are trying to release a reference on an object who's
DLL is already unloaded from the process. Therefore, we cannot find a
direct coorelation to what it is we are trying to free. Based on other
cases where this was observed, the most likely cause here is the use of
the IIS / ASP intrinsic objects in ASP.Net code, without a call to
Marshal.ReleaseComObject in the associated .Net assembly. In order to
resolve this crash, please have your developers review thier .Net
assemblies that may use the IIS / ASP intrinsic objects and make sure
these assemblies make explicit calls to Marshal.ReleaseComObject. This
should resolve the crash that we have seen here, which has not been the
focus of our case thus far. Do you wish to continue attempts to resolve
the memory leak observed previously and if so, do we have an ETA on
when that data may be available?
[end quote]
my question is, which iis / asp intrinsic objects might be candidates
for this? the only intrinsics i can think of that are in use are the
Session and Application objects, but i assumed that those were cleaned
up by the OnEnd events themselves. does anyone know of some other
common objects that require this marshalling release?
thanks,
jason