Memory leakage in aspnet_wp ?
-
I have developed an application that shall server around 60 IE clients with data. Each client will automatically refresh itself ones per minute. On each refresh a couple of COM objects are used to retrieve the data necessary to construct the page. My problem is that the aspnet_wp process is using more and more memory, and eventually crasches after around 3 days with 30 clients. I know about the garbage collector in .NET so my question is, can .NET code still leak memory? Or is the memory leakages within the COM objects that I create in process? Thanks Rickard
-
I have developed an application that shall server around 60 IE clients with data. Each client will automatically refresh itself ones per minute. On each refresh a couple of COM objects are used to retrieve the data necessary to construct the page. My problem is that the aspnet_wp process is using more and more memory, and eventually crasches after around 3 days with 30 clients. I know about the garbage collector in .NET so my question is, can .NET code still leak memory? Or is the memory leakages within the COM objects that I create in process? Thanks Rickard
I've got $50 on your COM components. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
I've got $50 on your COM components. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
There is especially one COM component I use from within my managed code. This COM component in turns uses three OLE automation based COM components. From this component I pass a SAFE ARRAY of data on each call through an automation compatible interface. Could it be something with this? Do I have to erase the safewarray explicitly in my VB code? Or is it very likely that the memory leakage is within the COM objects that my com objects uses..? Rickard
-
There is especially one COM component I use from within my managed code. This COM component in turns uses three OLE automation based COM components. From this component I pass a SAFE ARRAY of data on each call through an automation compatible interface. Could it be something with this? Do I have to erase the safewarray explicitly in my VB code? Or is it very likely that the memory leakage is within the COM objects that my com objects uses..? Rickard
Best bet - isolate each component and run it in a process so you can see if it leaks memory. I'd do this with just a little vbscript that calls the methods in question over and over. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder