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

svn eats all memory, OOM killer kicks in

From: Marcelo E. Magallon <marcelo.magallon_at_bigfoot.com>
Date: 2002-04-12 22:34:36 CEST

Hi,

 while playing with subversion I found this problem. I'm using the
 Window Maker sources as a testbed.

 * I create a repository

    svnadmin create ~/tmp/wmaker/svn

 * I checkout this

    cd ~/tmp/wmaker/work
    svn co file:///home/marcelo/tmp/wmaker/svn
    cd svn

 * I create some directories here

    svn mkdir trunk
    svn mkdir tags
    svn mkdir branches
    svn mkdir branches/debian
    svn mkdir branches/upstream

 * I introduce some files in the working copy

    cd branches/upstream
    tar xvzf $DEPOT/wmaker_0.64.0.orig.tar.gz
    mv WindowMaker-0.64.0/* .
    rmdir WindowMaker-0.64.0
    svn add --recursive *

 * I check in

    cd ../..
    svn ci -m "Window Maker 0.64.0"
    Adding ...
    Adding ...
    Adding ...
    Transfering .................................................
    .............................................................
    [...]
    ...................Killed

 * A second check-in attempt produces this:

    Adding branches/upstream/util/wmsetup.c

    svn_error: #21068 : <File already exists in revision>
      Commit failed (details follow):

    svn_error: #21068 : <File already exists in revision>
      file already exists: filesystem `/home/marcelo/tmp/wmaker/svn/db', transaction `3', path `branches/upstream/util/wmsetup.c'

 At this point I assume the repository has been corrupted. How can I
 verify or deny this?

 My box has 256 MB RAM + 128 MB swap. About 300+ MB are free before the
 check-in. The files being checked-in total 20+ MB. At this point I
 assume the repository has been corrupted. How can I verify or deny
 this?

 I have compiled subversion myself from a fresh check out (1677). BDB
 is 4.0.14; neon is 0.19.3; APR is 2.0.35. This is Linux, 2.4.18 + XFS
 patches. Subversion was compiled using gcc version 2.95.4 20011002
 (Debian prerelease), configured like this:

        ./configure CC="cc -g"\
                --prefix=/usr \
                --mandir=\$${prefix}/share/man \
                --infodir=\$${prefix}/share/info \
                --with-berkeley-db=/usr \
                --with-apr-libs=/usr/lib/apache2 --enable-static \
                --with-apxs=$(APXS) \
                --with-neon=/usr \
                --enable-debug

 (that's cut'n'pasted from a makefile used to compile subversion)

 Thanks,

 Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 13 08:17:43 2002

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