On 05/25/2011 04:05 PM, C. Michael Pilato wrote: > On 05/25/2011 03:49 PM, Greg Stein wrote: >> On Wed, May 25, 2011 at 15:33, <cmpil...@apache.org> wrote: >>> ... >>> + /* A mapping of svn_revnum_t * dump stream revisions to their >>> + corresponding svn_revnum_t * target repository revisions. */ >>> + apr_hash_t *rev_map; >> >> How big can this grow? ie. what happens when there are several million >> revisions. > > It gets big. (This logic and approach are copied from 'svnadmin load', > which doesn't excuse it, but might explain it.)
Actually, I don't really know for sure how big it gets. It's a mapping of of sizeof(svn_revnum_t) to sizeof(svn_revnum_t), plus all the hash internals. Anybody have any guesses? -- C. Michael Pilato <cmpil...@collab.net> CollabNet <> www.collab.net <> Distributed Development On Demand
signature.asc
Description: OpenPGP digital signature