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

Re: removing a revision (Re: [PATCH] Best Practices)

From: Michael Price <mprice_at_atl.lmco.com>
Date: 2002-08-09 15:38:58 CEST

Karl Fogel writes:
> > On a side note, I quickly ran 'top' to see how much memory was going to be
> > used while adding this large file. I was pleased to see that subversion's
> > memory use never really increased while the httpd process grew to 65MB and
> > stayed that way. If I add a 2GB file (which I didn't think to try until
> > just now), what's going to happen to httpd? It'll be a few hours until I
> > get to try it so if anyone cares to try first, let me know.
> Let us know what happens!

OK. Created a 2GB file containing random data. Created a new
repository. Checked out the repository. Added the 2GB file. Did the
commit. If you try this at home... have a lot of disk space because you'll
need to store:

  1. the original 2GB file
  2. the 2GB temporary file in .svn/tmp
  3. the portion of the 2GB file that gets added to the repo
  4. the log files for the portion that gets added to the repo

On my machine, each process has a hard limit of 448MB data segment size
and 64MB stack size.

The first time, everything was going along fine until I ran out of disk
space :)

The second time, after fixing the disk space issue, apache ran until it
reached its process memory limit and then stopped. It had committed 448MB
of the file when it stopped.

So, don't commit a file larger than any memory limits on the server or it
won't work.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 9 15:39:32 2002

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.