[Mono-dev] Mono - CreateProcess error
shoney at wsi.com
Tue Sep 26 16:07:05 EDT 2006
Same here regarding the frequency of the invocations.
My application makes the call once every 4 minutes or so.
I run 45 of these applications (each processing a different radar site)
and I start having problems after 8 hours of constant running.
From: Brian Crowell [mailto:mono-devel at fluggo.com]
Sent: Tuesday, September 26, 2006 2:12 PM
To: Miguel de Icaza
Cc: Honey, Steve; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Mono - CreateProcess error
Miguel de Icaza wrote:
> I wonder if you are calling too many processes in quick succession, so
> its just a matter of not enough time to clean up those handles/.
That's not the case. I've had long-running programs that would wait
minutes between invocations, and they also suffer from this.
As I explain in the bug report, even creating a Process and failing to
Dispose will not cause a problem by itself. Yes, there may be more
handles in the table at once, but the garbage collector is pretty quick
cleaning them up, and the most I've seen in the table this way is maybe
a far cry from the table's limit of 4096.
No, the handle leak problem happens regardless of how the C# program
treat its resources. Disposing of the Process object will clean up most
instantly, but regardless of whether you call Dispose, some handles will
leaked. And if your program runs for a long time, it will eventually
More information about the Mono-devel-list