darcs

Issue 548 diff => resource exhausted (1.0.9+)

Title diff => resource exhausted (1.0.9+)
Priority bug Status wont-fix
Milestone Resolved in
Superseder Nosy List alexey_martynov, darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kowey, markstos, rgm, thorkilnaur, tommy, wglozer
Assigned To
Topics Darcs2, Performance, Windows

Created on 2007-10-12.15:13:24 by alexey_martynov, last changed 2009-10-24.00:07:54 by admin.

Messages
msg2167 (view) Author: alexey_martynov Date: 2007-10-12.15:13:23
Windows XP Service Pack 2
Darcs 1.0.9 (binaries from http://zooko.com/darcs/darcsdir-w32-1.0.9.zip 
and manually built from sources with GHC 6.6 and 6.6.1), 1.1.0pre1 
(built by GHC 6.6.1)

When using command "darcs diff --from-tag=v1.1" or "darcs diff --last=8" 
after listing recorded patches which will be in diff darcs says "darcs 
failed: resource exhausted". Smaller number in argument --last allows to 
create diff, also is possible to create diff with commands above under 
FreeBSD 6.2 (witth darcs built by GHC 6.6.1 via FreeBSD ports system).
Command line switches to control Haskell runtime system suggested in 
Internet doesn't helps.
msg2378 (view) Author: markstos Date: 2008-01-09.03:36:38
Alexey,

Thanks for the report. How much memory was available when you tried this test? 

Did you try this?
darcs +RTS -M512M -RTS  diff ...

Was there an additional message besides "resource exhausted", such as either
"out of memory", or "too many open files" ? 

While "darcs diff" runs, can you monitor the memory using another tool and see
if the memory is running out? 

     Mark
msg2512 (view) Author: alexey_martynov Date: 2008-01-15.09:34:20
I spent a lot of time to reproduce this problem on repository which I 
use to report it. But now I can't repeat it now even on 256 MBytes RAM 
machine.

Following information about first detection of the problem.
This problem has been detected on Windows XP Service Pack 2 with 512 
MBytes RAM. I tried +RTS options but I insert it at tail of command line 
after all other options for darcs. -M512M doesn't help me and I solved 
problem by pulling repository to FreeBSD and generate diff on it. No 
additional messages has been reported with "resource exhausted", only 
"darcs failed: resource exhausted".
msg2513 (view) Author: alexey_martynov Date: 2008-01-15.09:34:34
I spent a lot of time to reproduce this problem on repository which I 
use to report it. But now I can't repeat it now even on 256 MBytes RAM 
machine.

Following information about first detection of the problem.
This problem has been detected on Windows XP Service Pack 2 with 512 
MBytes RAM. I tried +RTS options but I insert it at tail of command line 
after all other options for darcs. -M512M doesn't help me and I solved 
problem by pulling repository to FreeBSD and generate diff on it. No 
additional messages has been reported with "resource exhausted", only 
"darcs failed: resource exhausted".
msg2519 (view) Author: markstos Date: 2008-01-15.14:33:46
Alexey,

I appreciate you spending so much time to try to reproduce this for us. 

For now I'm going to mark the bug as "need example". It seems difficult to
troubleshoot further until that happens. 

Perhaps in the future if another user runs into the same bug, they'll find this
ticket and can add their example to it. 

Thanks again for helping the darcs project with your report and troubleshooting!

   Mark
msg3492 (view) Author: markstos Date: 2008-02-16.04:10:12
Since the reporter can no longer reproduce this issue either, and the has been
no further follow-up for over a month, I've updating the status of this to be
"wont-fix" / presumed-dead. 

It can always be re-opened if the bug is spotted again.
History
Date User Action Args
2007-10-12 15:13:25alexey_martynovcreate
2007-11-05 09:03:46koweysettopic: + Performance
title: Darcs 1.0.9: resource exhausted -> diff => resource exhausted (1.0.9+)
2008-01-09 03:36:38markstossetstatus: unread -> unknown
nosy: + markstos
topic: + Darcs2
messages: + msg2378
2008-01-15 09:34:22alexey_martynovsetmessages: + msg2512
2008-01-15 09:34:35alexey_martynovsetmessages: + msg2513
2008-01-15 14:33:48markstossetstatus: unknown -> waiting-for
messages: + msg2519
2008-02-16 04:10:17markstossetstatus: waiting-for -> wont-fix
nosy: + wglozer, eivuokko, rgm, jaredj
topic: + Windows
messages: + msg3492
2009-08-06 17:40:21adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, thorkilnaur, - droundy, wglozer, eivuokko, rgm, alexey_martynov, jaredj
2009-08-06 20:37:31adminsetnosy: - beschmi
2009-08-10 22:09:03adminsetnosy: + alexey_martynov, wglozer, eivuokko, rgm, jaredj, - darcs-devel, zooko, jast, dagit, Serware, mornfall
2009-08-25 17:53:54adminsetnosy: + darcs-devel, - simon
2009-08-27 13:55:33adminsetnosy: tommy, kowey, markstos, wglozer, darcs-devel, eivuokko, rgm, thorkilnaur, alexey_martynov, jaredj, dmitry.kurochkin
2009-10-23 22:42:04adminsetnosy: + robmoss, - rgm
2009-10-24 00:07:54adminsetnosy: + rgm, - robmoss