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

memory leak problem...

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-02 21:59:12 CEST

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'

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
Received on Thu May 2 22:02:20 2002

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.