Created on 2006-06-22.12:33:01 by edwint, last changed 2008-10-16.12:56:45 by kowey.
| File name |
Uploaded |
Type |
Edit |
Remove |
|
longlines.hs
|
kowey,
2008-05-14.15:57:43
|
text/x-haskell |
|
|
| (mbox) |
| msg710 (view) |
Author: edwint |
Date: 2006-06-22.12:32:58 |
|
This happens in Windows, running darcs 1.0.8 in cmd.exe, but not when running
the same darcs binary from a cygwin shell, or in linux.
The file longline.txt is a 120KB text file with no line breaks.
C:\longline>darcs init
C:\longline>darcs add longline.txt
C:\longline>darcs record -A me
addfile ./longline.txt
Shall I record this change? (1/?) [ynWsfqadjkc], or ? for help:
hunk ./longline.txt 1
-
+
darcs failed: resource exhausted
C:\longline>
|
| msg766 (view) |
Author: droundy |
Date: 2006-07-04.11:45:58 |
|
I guess the problem is that we're writing the very long line to the terminal,
and that causes trouble. Perhaps (for windows only?) we should truncate lines
when writing to the terminal?
Can you tell me if
record -A me -a
works fine?
|
| msg774 (view) |
Author: edwint |
Date: 2006-07-04.12:16:20 |
|
Yes, record -a works fine.
|
| msg2947 (view) |
Author: markstos |
Date: 2008-01-31.03:35:50 |
|
Edwin,
Could you test with one of the Darcs2 pre-release binaries for Windows and see
if the experience is improved? They are available here:
http://wiki.darcs.net/index.html/DarcsTwo
Mark
|
| msg2984 (view) |
Author: droundy |
Date: 2008-01-31.16:33:28 |
|
I'd guess this problem is still there. I think we need to find out what limit
cmd.exe places on length of lines printed. Someone with windows ought to be
able to run a simple test. Of course, it may depend on the variety of windows run.
David
|
| msg3509 (view) |
Author: markstos |
Date: 2008-02-16.21:57:35 |
|
I found these references about long lines and cmd.exe, but they are both mainly
about how long the command line call can be, and how long the environment
variables can be (which I didn't think we used on Windows).
http://blogs.msdn.com/oldnewthing/archive/2003/12/10/56028.aspx
http://support.microsoft.com/kb/830473
|
| msg4678 (view) |
Author: kowey |
Date: 2008-05-14.13:06:42 |
|
We could find out the dumb way with a little program to print out increasingly
long lines to screen...
|
| msg4702 (view) |
Author: kowey |
Date: 2008-05-14.15:57:43 |
|
Edwin: do you think this Haskell program could give us any clues? Could you, or
somebody else on Windows tell us what happens when you run it?
|
| msg4910 (view) |
Author: kowey |
Date: 2008-06-02.09:52:01 |
|
Well, I just got access to a Windows box... and the longlines.hs program
suceeeds. Hmm...
|
| msg6329 (view) |
Author: kowey |
Date: 2008-10-16.12:56:43 |
|
We still need to diagnose this bug, after my longlines.hs failed to confirm the
writing-long-lines-to-terminals hypothesis from David (of course, it could just
be that the test itself needs to be tweaked)
|
Browse related patches:
unstable
|
stable
|
| Date |
User |
Action |
Args |
| 2006-06-22 12:33:01 | edwint | create | |
| 2006-07-04 11:45:59 | droundy | set | status: unread -> chatting nosy:
droundy, tommy, edwint messages:
+ msg766 |
| 2006-07-04 12:16:21 | edwint | set | nosy:
droundy, tommy, edwint messages:
+ msg774 |
| 2006-07-13 18:23:19 | jch | set | topic:
+ Windows nosy:
+ eivuokko, wglozer title: Darcs failing on files containing very long lines -> Windows: darcs failing on files containing very long lines |
| 2008-01-31 03:35:51 | markstos | set | nosy:
+ kowey, markstos, beschmi messages:
+ msg2947 |
| 2008-01-31 16:33:29 | droundy | set | nosy:
droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, edwint messages:
+ msg2984 |
| 2008-02-16 21:57:36 | markstos | set | status: chatting -> deferred nosy:
droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, edwint messages:
+ msg3509 |
| 2008-05-14 13:06:43 | kowey | set | status: deferred -> in-progress nosy:
+ dagit messages:
+ msg4678 |
| 2008-05-14 15:57:45 | kowey | set | files:
+ longlines.hs nosy:
droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, edwint, dagit messages:
+ msg4702 assignedto: edwint |
| 2008-06-02 09:52:03 | kowey | set | nosy:
droundy, tommy, beschmi, kowey, markstos, wglozer, eivuokko, edwint, dagit messages:
+ msg4910 |
| 2008-10-16 12:56:45 | kowey | set | status: in-progress -> chatting nosy:
+ dmitry.kurochkin, simon, thorkilnaur messages:
+ msg6329 assignedto: edwint -> |
|