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

Re: svn memory leak -- better example

From: Michael <ectosphenoid-svn_at_yahoo.com>
Date: 2004-07-20 06:19:51 CEST

> I may have found the problem (or part of it) while working on an
> updated patch for issue 1310. Some subpool creations don't appear to
> have matching destroys. I'll post more once my tests are done.

While I did find a few missing svn_pool_destroy calls they didn't have
any real effect on the memory usage I was seeing in my tests.

One thing I have noticed is that the memory usage scales with the
number of files while the size of the files appears to be irrelevant.

You can commit one 256MB file and svn will only use 6MB of memory.
Break that up into 256,000 1KB files and svn uses well over 200MB of

Maybe that will be a helpful clue to someone more familiar with the
subversion codebase than I am.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 20 06:20:10 2004

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.