Einzelnen Beitrag anzeigen

Benutzerbild von Khabarakh
Khabarakh

Registriert seit: 18. Aug 2004
Ort: Brackenheim VS08 Pro
2.876 Beiträge
 
#2

Re: Memory Manager in Delphi 2007

  Alt 4. Feb 2008, 10:09
There's no such thing as a memory leak in a (fully managed) .Net application. If you're experiencing some memory issues, could you describe them?
Whenever you have created, say, 20 new objects (i.e. generation 0 is full) since the last garbage collection, the garbage collector will reclaim any unreferenced objects (slightly simplified). The only thing you can do to help the GC is to dispose every IDisposable object as soon as you don't need it anymore.
Sebastian
Moderator in der EE
  Mit Zitat antworten Zitat