[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 Sperling <stsp_at_elego.de>
Date: Mon, 8 Dec 2014 20:42:12 +0100

On Mon, Dec 08, 2014 at 08:30:31PM +0100, Stefan Fuhrmann wrote:
> Hm. 381 MB are massive, then. Maybe I can find reproduce it
> and help tracking it down with a modified APR.

Yes, we should be able to manage with much less.
Though perhaps what's left is in in mod_dav rather than mod_dav_svn.

> > > 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 :)
Received on 2014-12-08 20:42:43 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.