Re: System.Diagnostics.Process causig memory leak

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bob (bob_at_bob.net)
Date: 12/03/04


Date: Fri, 03 Dec 2004 03:20:14 GMT

Are you sure you have a leak. .NET does garbage collection
very late. Also, what is the purpose of:

On 2-Dec-2004, sebastian.sosna@dregis.com (Sebastian Sosna) wrote:

> p[i].EnableRaisingEvents = true;
> p[i].Exited += new System.EventHandler(MyProcess_Exited);

Seems to me you're stacking up handlers here.