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

Re: Problem with large files

From: Jeremy Cook <jeremy.cook_at_bccs.uib.no>
Date: 2006-08-28 11:30:03 CEST

Thanks for the feedback, It wasn't all that obvious that I could solve
this by using a newer APR by googling and reading the FAQ. Large files
are mentioned in the FAQ, but not quite in a way that led me to a
solution.

Anyway I have now reinstalled using newer APR and APR-util and it does
indeed seem to be working with 2GB and 3GB files. However it all takes
so long using svn with these AVI files that I might find some other
way...

Thanks!

Jeremy

On 27/08/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> On 8/27/06, Ben Collins-Sussman <sussman@red-bean.com> wrote:
> >
> >
> >
> > On 8/23/06, Jeremy Cook <jeremy.cook@bccs.uib.no> wrote:
> > >
> > > I am not all that familiar with the internals of subversion, nor do I
> > > want to be, but I do want it to handle large files. So if someone can
> > > reply and acknowledge whether this is a bug and whether there are any
> > > forseen problems with the fix that I found, I will be happy to make a
> > > report to the issue tracker.
> >
> >
> > I can't see why you'd need those special patches' to handle large files; I
> > have no idea why the gentleman who posted those patches felt there was some
> > great complex problem to solve.
> >
> > All you need to do is recompile subversion against some version of apr and
> > apr-util > 1.0. Subversion ships with apr 0.9 in its own tarball, but
> > that's only for legacy compatibility reasons. If you rebuild against a
> > modern apr, large files should be handled just fine. There's no need for
> > secret renegade patches. :-)
>
> Note that there were bug fixes to APR that corrected some issues with
> large files. Specifically, in APR 1.2.6 I fixed an issue that made
> lots of things with large files not work (the filePtr field in
> apr_file_t was only 32 bits long). So you need at least APR 1.2.6.
> It's certainly possible that there are other problems lurking, but I'm
> not aware of any at the moment, and everything I tried with really big
> files worked once I corrected that issue. With APR 0.9.x, this stuff
> is much more flaky, so I'd be surprised if it worked at all.
>
> -garrett
>

-- 
Jeremy.Cook@bccs.uib.no                        tlf: +47 55 58 40 65
Parallab                  Bergen Centre for Computational Science
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 28 11:30:39 2006

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.