[Xapian-discuss] Error Opening database : Too many open files

James Aylett james-xapian at tartarus.org
Tue Jan 27 19:54:26 GMT 2009


On Tue, Jan 27, 2009 at 08:43:01PM +0100, Yann ROBIN wrote:

> I'm working in C#. And i do dispose the object ... so the destructor
> "should" be called (according to swig code).

I don't know enough about C# to know if it will actually dispose at
that point, or if it'll put it in a bin for later disposal by GC.

> But yeah i think this might be something with the wrapping, but i
> don't find where the "close" occurs in xapian code, as there is no
> "closing code" in the destructor of ChertDatabase.
> By the way, i'm working with a version of the repository, with chert
> as backend.

With trunk, there's an explicit close() method. It's in r11797 for the
SWIG bindings.

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list