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

ra_dav commit memory leak solved

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-10-11 08:09:15 CEST

Josh Pieper <jpieper@andrew.cmu.edu> and I independently figured out
the major cause of the memory leak: the open_tmp_file callback.
Someone will have to write "I will not design interfaces without
pools" on the blackboard a hundred times. I committed his patch in
r7381 after verifying that it passes basic_tests and commit_tests over

With that fixed, an import of the Mozilla source over ra_dav grows
very very slowly, probably owing to the valid_targets hash. We could
reduce the size of that hash by not adding pathnames to it twice, or
by checking whether a path already exists in it before making a copy
of the path in the hash's pool. Or we could do nothing, since we're
talking about a difference of a couple of megabytes for a gigantic

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 11 08:10:03 2003

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.