[Gtk-sharp-list] Too many open files
Miguel de Icaza
07 Dec 2002 18:31:43 -0500
On Sat, 2002-12-07 at 14:36, Martin Baulig wrote:
> for some strange reason, gtk#'s api generation code opens way too many files.
> On my system, the default limit on open file descriptors is 1096 and compiling
> gtk-sharp/api aborts with an "no more open files" error message. After increasing the
> limit to 8192, it works fine.
This is interesting, Radek Doulik reported this, but he tracked this
down to be the refcount on the WapiHandle starting at zero instead of
starting at -1.
Now, I looked at this, and it seemed to me like there was no WapiHandle
leak (or file descriptor leak) on my system. Am running Red Hat 7.3