[darcs-devel] [issue622] 'darcs convert' - 'out of memory'

James Sadler bugs at darcs.net
Sun Jan 27 12:34:39 UTC 2008


New submission from James Sadler <james at jamesdsadler.com>:

'darcs convert' fails on my very large repository > 2000 patches with an 'out of
memory' error message (on a machine with 4GB).  So I decided to experiment a bit
and unpulled all patches except for the very first one in the repo.  The first
patch is the head of my old subversion repo and is large (150mb).

'darcs convert' still fails with the same error; always an out of memory error.
 The amount of memory it consumes is > 20X the size of the compressed patch. 
The  contents of the patch are around 600mb (the size of the working tree when
the repo only contains the first patch).

Quite why darcs requires this amount of memory is a mystery to me; I expect
there is a severe memory leak somewhere.

This happens on 2.0.0pre2, 2.0.0pre3 and current head of unstable as of 27th Jan
2008.

----------
messages: 2810
nosy: beschmi, droundy, jamesdsadler, kowey, tommy
priority: bug
status: unread
title: 'darcs convert' - 'out of memory'

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue622>
__________________________________


More information about the darcs-devel mailing list