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

Re: Unsure as to what an error message is really telling me

From: James Van Artsdalen <james-tigris_at_jrv.org>
Date: 2003-10-18 10:38:00 CEST

I just got this error too, and it does not require extremely large files.
As shown at the end, I had a 610,553 byte file of 9,540 lines, every one
of which changed, and it failed with 1.7 GB of RAM (3 GB of swap) free.

A file I/O trace of SVN shows that it opens the text-base of the file
in question, the file istself, reads both, and gives an error without
ever attempting a file write.

From: kfogel@collab.net <kfogel@collab.net>
Date: 09 Oct 2003 21:57:38 -0500

"Hensley, Richard" <Richard.Hensley@McKesson.com> writes:
> I get the following message when I execute a diff command:
> wc $svn diff -r 127:128 Staff.java
> Index: Staff.java
> ===================================================================
> --- Staff.java (revision 127)
> +++ Staff.java (revision 128)
> @@ -36,1724 +36,1731 @@
> svn: Not enough storage is available to process this command.
> svn: svn_diff_file_output_unified: error writing hunk
> I'm not sure what the error messages mean.

Based on the error message, the line numbers in your diff, and the
existence of this issue (which Sander Striker is hard at work on)


I'm tempted to say that svn was unable to diff a very large file
because it was unable to hold it all in memory :-).

> I seem to be getting this error on all svn diff commands.

Are they always with such large files?


C:\src\chkcat>wc -l gsc11.md5
   9540 gsc11.md5

C:\src\chkcat>svn diff
Index: gsc11.md5
--- gsc11.md5 (revision 69)
+++ gsc11.md5 (working copy)
@@ -1,9537 +1,9540 @@
svn: Not enough storage is available to process this command.
svn: svn_diff_file_output_unified: error writing hunk.

C:\src\chkcat>dir gsc11.md5
 Volume in drive C is Disk
 Volume Serial Number is 5C96-B208

 Directory of C:\src\chkcat

10/18/2003 03:08 AM 610,553 gsc11.md5
               1 File(s) 610,553 bytes
               0 Dir(s) 190,615,474,176 bytes free

C:\src\chkcat>svn --version
svn, version 0.29.0 (r6976)
   compiled Sep 8 2003, 00:45:48

Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' schema


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 18 21:43: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.