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

svn rm on large file set is Killed

From: Nathan Fiedler <nfiedler_at_bluemarsh.com>
Date: 2002-04-17 09:37:44 CEST

I looked in the bugs database for 'defects' involving memory problems
and didn't see anything open. I'm running the HEAD versions of Apache,
APR, and Subversion from Monday morning. I didn't see any commits to svn
list about memory leaks, so I think this is new.

I'm running RedHat Linux 7.2 with kernel 2.4.18 on a PIII system with
512MB RAM and 512MB of swap. I've got a directory tree of about 600
.java files that I'd like to remove from my working copy (and hence the
repository). I'll be replacing all of these with a single jar since svn
takes a long time to run 'status' on these 600 files; they don't change
often enough to keep around in the repository anyway.

Okay, so the problem is this. I cd to the directory containing the
roughly 600 files and...

% svn rm parser

'parser' is the directory containing several directories which contain
the many files. svn prints out what appears to be most, but not all, of
the file names like so:

D parser/java/node/TLteq.java
D parser/java/node/PFormalParameterList.java
D parser/java/node/TGt.java
D parser/java/node/PExtendsInterfaces.java
D parser/java/node/TImplements.java
D parser/java/node/ANullLiteralLiteral.java
D parser/java/node/AStarMultiplicativeExpression.java

At this point the disk starts thrashing and I check out the memory
stats:

chip (nfiedler) 502 > cat /proc/meminfo
        total: used: free: shared: buffers: cached:
Mem: 526618624 523259904 3358720 0 663552 20860928
Swap: 542826496 541130752 1695744
MemTotal: 514276 kB
MemFree: 3280 kB
MemShared: 0 kB
Buffers: 648 kB
Cached: 8172 kB
SwapCached: 12200 kB
Active: 337836 kB
Inactive: 149488 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 514276 kB
LowFree: 3280 kB
SwapTotal: 530104 kB
SwapFree: 1656 kB

Sure enough, memory is nearly completed utilized. At this point, the svn
console displays "Killed" and returns to the prompt.

That's all I have about that. Please let me know what to do about this
issue. As for deleting the files, I'll manage by removing them in
chunks.

thanks

nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 17 09:38:41 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.