Code

git-svn: reduce memory usage for large commits
authorEric Wong <normalperson@yhbt.net>
Sat, 14 Oct 2006 22:48:35 +0000 (15:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 15 Oct 2006 00:38:52 +0000 (17:38 -0700)
commitf7197dff15a3ab12ce59626865c5a388a3bb0976
treed709363d28f4c724cc5a623ed5a0af9b4116224d
parent6844fc806ace7d7c31ad788a8886cfd0498ceec5
git-svn: reduce memory usage for large commits

apply_textdelta and send_stream can use a separate pool from the
rest of the editor interface, so we'll use a separate SVN::Pool
for them and clear the pool after each file is sent to SVN.

This drastically reduces memory usage per-changeset committed,
and makes large commits (and initial imports) of several
thousand files possible.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl