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

Re: svn diff crashes on a large text file

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-12-01 20:28:31 CET

On 12/1/05, Merg <demerg@gmail.com> wrote:
> We have a repos which contains a 600mb+ sql script. At one point this file
> gets deleted. If we do a svn diff on that particular rev, svn crashes.
>
> The diff is executed via the file:/// protocol. svn version is 1.2.3 on a
> Windows 2003 machine with 3gb of ram of which > 1.5gb is available before
> starting the diff. When we add the --no-diff-deleted it works. At the moment
> off the crash, svn uses > 1gb of ram. There is plenty (10gb+) of space on
> the temp drive.
>
> Any pointers of how we can overcome this? I would think svn would use the
> temp drive for performing large file operations?

Sounds like a flaw in the underlying diff code in subversion (not the
binary diffing code, but the actual code that produces the unified
diff output you see), to work around it, you might try using
--diff-cmd to point to some other diff (GNU diff probably), and see if
that works. In any event, if you can reproduce the problem in a test
case I'd suggest filing a bug about it (including a reproduction
recipie and a reference to this email thread).

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 1 21:01:47 2005

This is an archived mail posted to the Subversion Users mailing list.