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

RE: svnserve takes too much memory for "svn blame"

From: Bert Huijben <bert_at_qqmail.nl>
Date: Wed, 27 Jul 2016 17:36:14 +0200

> -----Original Message-----
> From: Vincent Lefevre [mailto:vincent-svn_at_vinc17.net]
> Sent: woensdag 27 juli 2016 02:36
> To: users_at_subversion.apache.org
> Subject: svnserve takes too much memory for "svn blame"
>
> When I do "svn blame" on some file (36972 lines), svnserve takes
> more than 800 MB on the server (and is killed due to lack of
> memory). So, it seems that svnserve is inefficient in terms of
> memory usage (that's at least 22 KB per line!).
>
> svnserve, version 1.8.8 (r1568071)
> compiled Aug 20 2015, 12:51:30 on x86_64-pc-linux-gnu

'svn blame' downloads all versions of the file (via binary diffs between the
revisions that contain actual changes), so the number of lines in the file
is not a number that really relates to what the server has to do.

The number of relevant revisions is far more interesting... as is how much
really changed in the file.

        Bert
Received on 2016-07-27 17:36:23 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.