Hmm - <br>
What are you doing differently in 0.7 that is causing the server to use more memory?<br>
<br>
-Kip<br>
<br><div><span class="gmail_quote">On 9/20/05, <b class="gmail_sendername">Matt Mackall</b> <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>> 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>> nifty - but 0.7 is not backward compatible with 0.6b:<br>> %hg clone <a href="http://xenbits.xensource.com/xen-unstable.hg">http://xenbits.xensource.com/xen-unstable.hg
</a><br>> requesting all changes<br>> adding changesets<br>> adding manifests<br>> adding file changes<br>> added 6917 changesets with 0 changes to 0 files<br>> ** unknown exception encountered, details follow
<br>> ** 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><!-- The above is a description of an error in a Python program,<br>formatted
<br> for a Web browser because the 'cgitb' module was enabled. In<br> case you<br> are not reading this in a Web browser, here is the original<br> traceback:<br><br>Traceback (most recent call last):<br> File "/var/www/html/xen-
unstable.hg", line 9, in ?<br> h.run()<br> File "/usr/local/hg-0.6c/lib/python/mercurial/hgweb.py", line 701,<br> in run<br> chunk = f.read(4096)<br> File "/usr/local/hg-0.6c/lib/python/mercurial/hg.py", line 1442, in
<br> read<br> self.buf += self.g.next()<br> File "/usr/local/hg-0.6c/lib/python/mercurial/hg.py", line 1469, in<br> gengroup<br> for y in self.manifest.group(linkmap): yield y<br> File "/usr/local/hg-
0.6c/lib/python/mercurial/revlog.py", line 433,<br> in group<br> chunks[r] = decompress(data[pos: pos + l])<br> File "/usr/local/hg-0.6c/lib/python/mercurial/revlog.py", line 33,<br> in decompress<br>
if t == 'x': return zlib.decompress(bin)<br>MemoryError<br><br>--><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>