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

Re: svn_repos_get_logs3 and unbounded memory use

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-09 23:33:50 CET

On 2/8/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:

> I'm not sure if this is the kind of approach we want to taks (it would
> be really nice if a call with a more reasonable number of paths could
> go faster by keeping the histories open, for example), but I imagine
> we're going to need to go down this path at some point unless we want
> to put a hard cap on the total number of paths you're allowed to pass
> to log.

I just committed (in r18404) a hybrid implementation that uses a
combination of the two approaches. The first N paths (where N is
currently set at 32) get a history object that remains open for the
whole request, any after that end up getting their history opened as
needed, which is slower but keeps memory usage down.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 9 23:34:22 2006

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.