<br><br><div class="gmail_quote">On Fri, Oct 2, 2009 at 10:24 AM, Ian Lynagh <span dir="ltr">&lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Oct 02, 2009 at 02:12:26PM +0200, Benjamin Franksen wrote:<br>
&gt;<br>
&gt; cd linux-2.6.31.1<br>
&gt; darcs initialize<br>
&gt; darcs record -lam &#39;imported linux-2.6.31.1&#39;<br>
&gt; darcs: out of memory (requested 1048576 bytes)<br>
&gt;<br>
&gt; I have 4GB of RAM. GHCRTS is not set in the environment.<br>
<br>
</div>FWIW, this is a regression:<br>
<br>
$ darcs --version<br>
1.0.9rc1 (release candidate 1)<br>
<br>
$ time darcs record -lam &#39;imported linux-2.6.31.1&#39; +RTS -sstderr<br>
...<br>
39 Mb total memory in use<br>
...<br>
123.00s user 14.56s system 92% cpu 2:29.26 total<br>
<br>
$ ls -lh<br>
-rw-r--r-- 1 ian ian 76M Oct  2 13:55 20091002125440-3fd76-03a5857db630a29bba5d50c923424b36c37ec297.gz<br></blockquote><div><br>I downloaded <a href="http://darcs.net/releases/darcs-1.0.9.tar.gz">http://darcs.net/releases/darcs-1.0.9.tar.gz</a>, built it with ghc-6.6.1, and confirmed this.<br>
<br>For me it only took 11 Mb of total memory, but really it&#39;s the same overall.  Darcs 2.3.0 is taking over two orders of magnitude more memory.  It took, 1903 MB on my machine.<br><br>So, this regression is much worse than I had initially realized.  I guess I&#39;ll make a new bug ticket for this regression and cite some of this.<br>
<br>Jason<br></div></div>