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

Re: On pool / memory usage debugging

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Tue, 9 Dec 2014 13:18:45 +0100

On Mon, Dec 8, 2014 at 8:42 PM, Stefan Sperling <stsp_at_elego.de> wrote:

> On Mon, Dec 08, 2014 at 08:30:31PM +0100, Stefan Fuhrmann
> > > > Finally, to minimize cache usage, make sure to disable fulltext
> > > > caching as well (enabled by default in 1.9) and set the cache
> > > > size to *1*, not 0. The latter would fall back to 1.6-style caches,
> > >
> > > Which option are you referring? The SVNInMemoryCacheSize option?
> > > The doc for that option says "0 deactivates the cache". Is this an
> error?
> > >
> > > /* per server */
> > > AP_INIT_TAKE1("SVNInMemoryCacheSize", SVNInMemoryCacheSize_cmd, NULL,
> > > RSRC_CONF,
> > > "specifies the maximum size in kB per process of
> > > Subversion's "
> > > "in-memory object cache (default value is 16384; 0
> > > deactivates "
> > > "the cache)."),
> > >
> >
> > It's technically correct, because the "static" per-process cache does
> > get disabled and all that's left is memory dynamically allocated for
> > an open connection (svn_fs_t, actually).
> >
> > But the doc string is misleading. I would suggest to change it to
> > "0 switches to dynamically sized caches".
>
> Yes please, that would help a lot! I can never remember what the various
> caching knobs do. The clearer the documentation, the better :)
>

Done in r1644035.

-- Stefan^2.
Received on 2014-12-09 13:19:59 CET

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.