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

Memory leak in svn log (1.7.5) with svn+ssh?

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Tue, 19 Mar 2013 14:44:55 +0100

On Debian and Ubuntu GNU/Linux machines, when I run "svn log" in some
working copy or on some repository URL using the svn+ssh scheme, such
as with

  svn log | tail

or, if this is too fast,

  svn log | less

(and searching for a pattern near the end of the output), I notice
that the RES memory of the svn process increases, e.g. from 5MB to
24MB, while I would expect the needed memory to remain constant, or
at least bounded.

No such problem with the "file" scheme: the RES memory remains

$ svn --version
svn, version 1.7.5 (r1336830)
   compiled Sep 28 2012, 11:22:04

Copyright (C) 2012 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Received on 2013-03-19 14:45:29 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.