This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / .net内存泄漏问题:观察performance,gen 0 collection数量持续攀升,内存占用越来越大。请问兄弟们,你们都是如何解决这个问题的。谢了。
-lilyba(sunshine);
2004-7-20
(#1809641@0)
-
是否是com+的bug? 我把程序简化到只执行下面一点代码,内存泄漏仍然存在,怀疑是微软的bug。有经验的人帮忙看看了。谢谢。Public function Process()
Manager = New Class1
If Not Manager Is Nothing Then
Manager.Dispose()
End If
End
Public Class Class1
Inherits ServicedComponent
Private _ruleXmlDoc As XmlDocument = Nothing
Public Sub New()
End Sub
End Class
-lilyba(sunshine);
2004-7-21
{308}
(#1811271@0)
-
试一试 IDispose ? (Implementing Finalize and Dispose to Clean Up Unmanaged Resources)
-xmlhttprequest(longhorn);
2004-7-21
(#1811697@0)
-
ServicedComponent is an abstract class which already implemented IDispose interface.
-guestagain(guest again);
2004-7-21
(#1811827@0)
-
even microsoft suggest to use Dispose(), I feel it is better also call DisposeObject() method to clean up the resource..
-guestagain(guest again);
2004-7-21
(#1811838@0)