|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.Net control memory not freed in mshtmlI have a large .net control that I am running in MSHTML. The control
simply loads up a number of images, however this problem has been replicated with a number of other .net controls. When the control is unloaded by calling up another page none of the memory is freed. Using perfmon I have a flat line for both virtual and private bytes that is never freed until the application is shut down. For my own controls I can workaround this problem by calling GC.Collect() in the dispose method, however my problem is with third party controls that do not do this. It is almost like the GC stops working when the page is closed. Has anyone else seen this problem. Is it something I am not doing in my code or is it normal mshtml behavior. If so is there a workaround to clear the memory or has the 3rd party application got a memory leak bug? Thanks for your help in advance. |
|||||||||||||||||||||||