Hmm - <br>
What are you doing differently in 0.7 that is causing the server to use more memory?<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Kip<br>
<br><div><span class="gmail_quote">On 9/20/05, <b class="gmail_sendername">Matt Mackall</b> &lt;<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Sep 20, 2005 at 06:07:34PM -0700, Kip Macy wrote:<br>&gt; nifty - but 0.7 is not backward compatible with 0.6b:<br>&gt; %hg clone <a href="http://xenbits.xensource.com/xen-unstable.hg">http://xenbits.xensource.com/xen-unstable.hg
</a><br>&gt; requesting all changes<br>&gt; adding changesets<br>&gt; adding manifests<br>&gt; adding file changes<br>&gt; added 6917 changesets with 0 changes to 0 files<br>&gt; ** unknown exception encountered, details follow
<br>&gt; ** report bug details to <a href="mailto:mercurial@selenic.com">mercurial@selenic.com</a><br><br>Not so hasty. The bug is in fact that xenbits is sometimes running out<br>of memory. Other times it works just fine. Here are the relevant bits
<br>from my diagnosis this morning:<br><br>----<br><br>And then I added exception handling to the pull code, so that it now<br>does this:<br><br>abort: premature EOF reading chunk (got 75478 bytes, expected<br>1651992944)!
<br><br>That expected number says there's probably something else in the<br>stream. Firing up Ethereal and tracing a connection shows:<br><br>&lt;!-- The above is a description of an error in a Python program,<br>formatted
<br>&nbsp;&nbsp;&nbsp;&nbsp; for a Web browser because the 'cgitb' module was enabled.&nbsp;&nbsp;In<br>&nbsp;&nbsp;&nbsp;&nbsp; case you<br>&nbsp;&nbsp;&nbsp;&nbsp; are not reading this in a Web browser, here is the original<br>&nbsp;&nbsp;&nbsp;&nbsp; traceback:<br><br>Traceback (most recent call last):<br>&nbsp;&nbsp;File &quot;/var/www/html/xen-
unstable.hg&quot;, line 9, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp;h.run()<br>&nbsp;&nbsp;File &quot;/usr/local/hg-0.6c/lib/python/mercurial/hgweb.py&quot;, line 701,<br>&nbsp;&nbsp;in run<br>&nbsp;&nbsp;&nbsp;&nbsp;chunk = f.read(4096)<br>&nbsp;&nbsp;File &quot;/usr/local/hg-0.6c/lib/python/mercurial/hg.py&quot;, line 1442, in
<br>&nbsp;&nbsp;read<br>&nbsp;&nbsp;&nbsp;&nbsp;self.buf += self.g.next()<br>&nbsp;&nbsp;File &quot;/usr/local/hg-0.6c/lib/python/mercurial/hg.py&quot;, line 1469, in<br>&nbsp;&nbsp;gengroup<br>&nbsp;&nbsp;&nbsp;&nbsp;for y in self.manifest.group(linkmap): yield y<br>&nbsp;&nbsp;File &quot;/usr/local/hg-
0.6c/lib/python/mercurial/revlog.py&quot;, line 433,<br>&nbsp;&nbsp;in group<br>&nbsp;&nbsp;&nbsp;&nbsp;chunks[r] = decompress(data[pos: pos + l])<br>&nbsp;&nbsp;File &quot;/usr/local/hg-0.6c/lib/python/mercurial/revlog.py&quot;, line 33,<br>&nbsp;&nbsp;in decompress<br>
&nbsp;&nbsp;&nbsp;&nbsp;if t == 'x': return zlib.decompress(bin)<br>MemoryError<br><br>--&gt;<br><br>So the server ran out of memory trying to decompress a manifest.<br><br>--<br>Mathematics is the supreme nostalgia of our time.<br></blockquote>
</div><br>