[darcs-users] darcs patch: switch Darcs.Patch.FileName to be ByteString.Char8 int...
dagit at codersbase.com
Fri Oct 2 21:34:49 UTC 2009
On Fri, Oct 2, 2009 at 2:26 PM, Jason Dagit <dagit at codersbase.com> wrote:
> 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-220.127.116.11
>> > darcs initialize
>> > darcs record -lam 'imported linux-18.104.22.168'
>> > 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-22.214.171.124' +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.
I forgot to mention. The test I did with 2.3.0 used the old-fashioned
repositories because I wanted to use as much as the code from 1.0.9 as I
could. So don't consider that a statement about darcs 2 repositories or
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darcs-users