Improt average project (hg clone http://project project, 5Gb data and <1000 commit)
Requires a lot of memory ...
cpu% ps | grep hg
bootes 2505 0:00 0:00 7244K Pread hg
bootes 2560 9:52 0:52 1579688K Pwrite hg
If the memory is not enough:
requesting all changes
adding changesets
adding manifests
adding file changes
added 10267 changesets with 35893 changes to 12161 files
updating to branch LePort
abort: out of memory
But the Swap is empty ...

2011/4/18 erik quanstrom <quanstro@labs.coraid.com>
On Mon Apr 18 15:22:17 EDT 2011, root81@gmail.com wrote:

> Hello.
> I installed the hg, and at first glance it does not work badly.
> For example, I cloned a repository - http://hg.omnifarious.org/ ~
> hopper/svn2hg.
> But hg serve -p80 is not working consistently ... Many errors in the
> terminal.
> Exception happened during processing request '/static/hgicon.png'
> <cut>
> KeyError: 'mimetype'
> Exception happened during processing request '/static/coal-file.png'
> KeyError: 'mimetype'
> Exception happened during processing request '/static/graph.js'
> KeyError: 'mimetype'
> Exception happened during processing request '/static/style-paper.css'
> IOError: [Errno 4] Bad file number
> Exception happened during processing request '/shortlog/5845fbf54880'
> IOError: [Errno 4] template file
> /sys/lib/python/lib/python2.5/site-packages/mercurial/templates/paper/footer.tmpl:
> Bad file number
> Exception happened during processing request '/shortlog/d2b9e9999050
> IOError: [Errno 4] template file
> /sys/lib/python/lib/python2.5/site-packages/mercurial/templates/paper/footer.tmpl:
> Bad file number
> ...
> Maybe I'm doing something wrong?

you're not doing anything wrong.  we aren't
serving hg stuff over http at this point, so this
was never tested.  i'll put it on the list, but if
anyone has a patch to fix this, i'll gladly accept.

- erik