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

Re: memory use of svn log -v with long changed paths lists

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 24 Jun 2014 11:04:03 +0200

On Tue, Jun 24, 2014 at 12:50:52AM +0200, Stefan Fuhrmann wrote:
> The serializer itself uses a single, auto-growing buffer.
> It should show up as a temporary peak, though.

There is a peak roughly above 200MB before the log message
is printed. It then settles at 173MB for me.
 
> The current 100 bytes estimation / change is way to low
> with the basic struct already taking 144 bytes on a 64bit
> system. r1604947 should help here.

It doesn't seem to help me, unfortunately.
I'm still seeing 173MB of memory in top(1) while the changed
paths list is printed and it goes down from there when the
process exits. Do you see something else?

> > Does anyone know what can be done about this?
> >
>
> Use a similar estimate as in r1604947 to skip svn_cache__set
> for uncachable items (call svn_cache__is_cachable).
>
> As soon as I arrived in UK, I'll look into this.

Thanks! I appreciate your help with this.
Received on 2014-06-24 11:04:39 CEST

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.