[darcs-users] darcs patch: switch Darcs.Patch.FileName to be ByteString.Char8 int...

Jason Dagit dagit at codersbase.com
Fri Oct 2 21:26:59 UTC 2009


On Fri, Oct 2, 2009 at 10:24 AM, Ian Lynagh <igloo at earth.li> wrote:

> On Fri, Oct 02, 2009 at 02:12:26PM +0200, Benjamin Franksen wrote:
> >
> > cd linux-2.6.31.1
> > darcs initialize
> > darcs record -lam 'imported linux-2.6.31.1'
> > darcs: out of memory (requested 1048576 bytes)
> >
> > I have 4GB of RAM. GHCRTS is not set in the environment.
>
> FWIW, this is a regression:
>
> $ darcs --version
> 1.0.9rc1 (release candidate 1)
>
> $ time darcs record -lam 'imported linux-2.6.31.1' +RTS -sstderr
> ...
> 39 Mb total memory in use
> ...
> 123.00s user 14.56s system 92% cpu 2:29.26 total
>
> $ ls -lh
> -rw-r--r-- 1 ian ian 76M Oct  2 13:55
> 20091002125440-3fd76-03a5857db630a29bba5d50c923424b36c37ec297.gz
>

I downloaded http://darcs.net/releases/darcs-1.0.9.tar.gz, built it with
ghc-6.6.1, and confirmed this.

For me it only took 11 Mb of total memory, but really it's the same
overall.  Darcs 2.3.0 is taking over two orders of magnitude more memory.
It took, 1903 MB on my machine.

So, this regression is much worse than I had initially realized.  I guess
I'll make a new bug ticket for this regression and cite some of this.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20091002/5f5c6204/attachment-0001.htm>


More information about the darcs-users mailing list