[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: possible file/dir handle leaks

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-12-16 22:58:35 CET

Erik Huelsmann wrote:

[snip]
>
> There is nothing which prevents you from copying your data into another pool
> indeed. The data is also cleared at pool cleanup. Are you familiar with
> pools and the possibility of creating subpools?

I have to admit that I'm not very familiar with pools, but I understand
what they're used for and how to use them. I don't know how they're
internally handled though.

So I changed TSVN so that the pool(s) I use are cleared after each
command to make sure that any remaining filehandles get closed.
But - (there's always a "but" :) ) since TSVN already did clear the
pools (those which weren't destroyed after use) right *before* calling
another command there should only be a constant amount of open
filehandles. But Lübbe told that whenever he's refreshing the explorer
view there are two _more_ open filehandles.
So that means to me that there *is* a real leak somewhere in the code
and not just an open handle which gets closed with by the pool.

Or maybe I just don't see where I'm keeping a pool in TSVN without
clearing it regularly. I'll have a closer look at it tomorrow - maybe
it's just too late in the evening to really concentrate on that task.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 16 22:59:31 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.