Article View: borland.public.csharpbuilder.language.csharp
Article #105Re: Memory leak
From: Craig Stuntz TeamB
Date: Mon, 27 Nov 2006 17:31
Date: Mon, 27 Nov 2006 17:31
19 lines
1824 bytes
1824 bytes
sham wrote: > If I do a GC.Collect(), this does not happen. Off the top of my head this sounds like you have an object which implements IDisposable that you (or a component you're using) aren't disposing (e.g., with using). Collecting will queue it up for finalization which will dispose the object. But that's a guess. Here are some general hints for tracking down allocation issues in .NET apps: http://blogs.msdn.com/ricom/archive/2004/12/10/279612.aspx -- Craig Stuntz [TeamB] � Vertex Systems Corp. � Columbus, OH Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz Everything You Need to Know About InterBase Character Sets: http://blogs.teamb.com/craigstuntz/articles/403.aspx
Technical Details
Message-ID:
<456b2f02$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4566dbba@newsgroups.borland.com> <456b0a35$1@newsgroups.borland.com> <456b25fa$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,4527e7d41cfb3dad X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII From: "Craig Stuntz [TeamB]" <craig_stuntz@nospam.please [a.k.a. acm.org]> Subject: Re: Memory leak Newsgroups: borland.public.csharpbuilder.language.csharp References: <4566dbba@newsgroups.borland.com> <456b0a35$1@newsgroups.borland.com> <456b25fa$1@newsgroups.borland.com> Organization: Vertex Systems Corporation User-Agent: XanaNews/1.18.1.5 X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ:0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 24.106.104.205 Message-ID: <456b2f02$1@newsgroups.borland.com> Date: 27 Nov 2006 10:31:30 -0700 X-Trace: newsgroups.borland.com 1164652290 24.106.104.205 (27 Nov 2006 10:31:30 -0700) Lines: 19 X-Authenticated-User: cstuntz Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail