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

Re: Subversion's use of Berkeley DB [#11511]

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-12-08 21:32:54 CET

Keith Bostic wrote:

> 2. Subversion users are occasionally seeing "out of memory
> errors". The Subversion code has recently added an error
> callback routine, so future occurrences of this problem
> should result in the detailed Berkeley DB error message being
> available for later debugging.
>
> Given the default 256KB cache size, and using, for example,
> 16KB database page sizes, 8 threads of control in the
> database at the same time, each grabbing 2 pages, will run
> the cache out of room, resulting in this failure. So,
> increasing the cache size may very well fix this problem.
>
> Action Items:
> None at this time.

So you're saying that the amount of cache used is proportional to the
number of concurrent threads accessing the db, and if you run out of
cache things just don't work? That seems less than optimal... Is there
anyway to make it allocate more room to the cache dynamically?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 8 21:33:57 2004

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.