[darcs-users] Re: darcs diff

Jason Dagit dagit at cs.oregonstate.edu
Sat Feb 19 22:39:26 UTC 2005


David Roundy <droundy at abridgegame.org> writes:

> On Fri, Feb 18, 2005 at 09:49:50AM -0800, Jason Dagit wrote:
>> I'd like to see it optimized.  I can no longer diff one of my
>> repositiories because I run out of memory (I've already tried to fix it
>> with +RTS, but this seems not to be a stack size issue).
>
> This is odd.  There's no reason why diff should run out of memory, so I
> suspect you may be seeing a bug rather than a simple non-optimization.  Can
> you by any chance make this repository available? On what operating system
> are you running out of memory, and what is the precise message you get when
> it happens?

I must appologize.  The situation is quite different than I initialy
thought.  It's not a problem with diff at all.  The command I was
running appears to be darcs whatsnew -l.  It's a huge repository by
the way, and I was running the command on my working copy which is my
home directory and contains tons of data besides what is in the
repository (serveral gigs).  I have two copies of the repository, my
working copy and the master copy.  Running du -sh on the master copy
reports the total size to be about 434megs.  And on that copy darcs
what -l returns rather quickly without errors.

But when I run darcs what -l on my home directory, I get the
following:
$ darcs what -l
darcs: out of memory (requested 529530880 bytes)

It would be nice to have the ability to run whatsnew -l on my home
directory, but due to the large volume of data it is understandable
that I run out of memory.

Sorry about alarming you.

Jason




More information about the darcs-users mailing list