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

Re: svnadmin load runs out of memory

From: Edmund Horner <edmund_at_chrysophylax.cjb.net>
Date: 2003-12-07 15:26:20 CET

Dave Oxley wrote:

> I'm trying to do a load into 0.34.0 after a dump but wherever I try it,
> it runs out of memory.
> I've tried it on my WinXP box that has 2Gb of memory and 4Gb page file.
> It allocates all of the 2Gb physical and 2Gb of the page file and then
> falls over. My Linux box has less memory and falls over earlier.
> I've been storing an SQL dump of a database in the repos, but the file
> is only 60Mb, but this seems to be what is killing the load.
> Also svnadmin (0.33.1) ran out of memory when I was trying to do deltify's.
> Any ideas what I can do?

Firstly (since you mention 0.33.1 and 0.34.0, and there is an
incompatibility between them), are you using the same svnadmin to create
the repository as well as load into it?

How many nodes are there in the revision it fails on? You could use
svndumpfilter to separate out the large file and load it by itself. At
the least this will reduce the test-case for debugging (and it does
sound a bit like a bug to me).

PS. I may be totally of my depth, but I would have thought the maximum
useful page file + memory was 4GB, i.e. 2GB of your file will be unused
however much memory your programs need.

HTH, Edmund.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 7 15:27:45 2003

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.