[darcs-users] darcs patch: switch Darcs.Patch.FileName to be ByteString.Char8 int...
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-184.108.40.206
> > darcs initialize
> > darcs record -lam 'imported linux-220.127.116.11'
> > 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-18.104.22.168' +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
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darcs-users