You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@collab.net> on 2002/05/02 19:59:12 UTC

memory leak problem...

So I copied our svn repository (about 45 megs) to my local disk, and
attempted to dump a single revision (HEAD) using the 'svnadmin dump'
facility.

It definitely works -- but the RAM usage goes up quickly and grows
forever.  I have to kill the process after about 20 or 30 secs, lest
it get totally out of control.

Keep in mind -- this is only happening when dumping *one* revision to
disk.  So the only pools being used are the ones being passed into my
dump-editor by svn_repos_dir_delta().  (My dump-process' "loop over
revisions" subpool creation never comes into play here.)

My suspicion is that the leak is either in dir_delta() or the
compatiblity wrapper.  Why?  Because I then attempted a simple
ra_local checkout of HEAD from the same repository.  Sure enough,
memory grew out-of-control -- another case of dir_delta driving an
editor whose only job is to spool data to disk.

Just a heads-up here.  I'm gonna take a look at dir_delta, and the
compat wrapper as well.  Others can join me.  :-)

(Also:  I reverted cmike's massive commit to libsvn_fs this morning,
and the problem was the same.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org