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

Jason Dagit 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-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.
>

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
darcs-hs.

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


More information about the darcs-users mailing list