[Haskell-cafe] memory usage in repeated reading of an external
program's output
Bryan O'Sullivan
bos at serpentine.com
Thu Jun 21 16:36:16 EDT 2007
Andrea Rossato wrote:
> Still I do not understand you reference to the leak problem. Could you
> please elaborate a bit?
The runProcess function returns a ProcessHandle. If you don't call
waitForProcess on that handle, you'll leak those handles. On Unix-like
systems, this means you'll accumulate zombie processes and potentially
fill your process table, DoSing your machine.
<b
More information about the Haskell-Cafe
mailing list