darcs

Issue 170 Out of memory (big file in working directory)

Title Out of memory (big file in working directory)
Priority bug Status resolved
Milestone Resolved in
Superseder whatsnew -ls loads complete contents of files into memory
View: 79
Nosy List darcs-devel, dmitry.kurochkin, juhe, kowey, thorkilnaur, tommy, zooko
Assigned To
Topics

Created on 2006-05-16.07:11:12 by juhe, last changed 2009-08-27.13:53:48 by admin.

Messages
msg651 (view) Author: juhe Date: 2006-05-16.07:11:10
Hello,

I'm seeing this bug from past versions till now, so I decided to report it. Here
is the way how to trigger the bug:

<cut>
$ darcs --version
1.0.7 (release)
$ mkdir bug_test
$ cd bug_test
$ darcs init
$ dd if=/dev/zero of=./big_file bs=1M count=2048
2048+0 records in
2048+0 records out
$ darcs wh -ls
darcs: out of memory (requested 2148532224 bytes)
$ cat /proc/meminfo | grep "Mem\|Swap"
MemTotal:      2074524 kB
MemFree:        869652 kB
SwapCached:          0 kB
SwapTotal:           0 kB
SwapFree:            0 kB
</cut>

I would expect this output:

$ darcs wh -ls
a ./big_file

Instead of this one:

darcs: out of memory (requested 2148532224 bytes) 

If you need more information, let me know.

Kind regards,
Juraj Hercek
msg652 (view) Author: dagit Date: 2006-05-16.07:52:21
Thanks for reporting this, doing so helps remind us what people feel is
important as well as reminding us that some issues are still around.

This is a duplicate of issue 79 which can be fixed with the following patch:
http://article.gmane.org/gmane.comp.version-control.darcs.devel/3866/match=whatsnew

Unfortuntately that patch no longer applies cleanly and another one needs to be
created.
msg661 (view) Author: zooko Date: 2006-05-18.15:20:07
resolved -- duplicate of issue 79
History
Date User Action Args
2006-05-16 07:11:12juhecreate
2006-05-16 07:52:23dagitsetstatus: unread -> unknown
nosy: + dagit
messages: + msg652
2006-05-18 15:20:10zookosetstatus: unknown -> resolved
nosy: + zooko
messages: + msg661
2008-01-31 16:07:03zookosetnosy: + kowey, beschmi
superseder: + whatsnew -ls loads complete contents of files into memory
2009-08-06 17:35:25adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, mornfall, simon, thorkilnaur, - droundy, juhe
2009-08-06 20:49:48adminsetnosy: - beschmi
2009-08-10 21:45:14adminsetnosy: + juhe, - markstos, darcs-devel, jast, Serware, mornfall
2009-08-10 23:54:02adminsetnosy: - dagit
2009-08-25 17:49:41adminsetnosy: + darcs-devel, - simon
2009-08-27 13:53:48adminsetnosy: tommy, kowey, darcs-devel, zooko, juhe, thorkilnaur, dmitry.kurochkin