[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53899] [octave forge] (io) Octave crashes whe
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #53899] [octave forge] (io) Octave crashes when writing large dbf files with dbfwrite |
Date: |
Thu, 17 May 2018 13:32:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36 |
Follow-up Comment #3, bug #53899 (project octave):
Hi Philip,
Indeed, the file is written to a SSD.
It seems that the problem is coming from writing the data records not the
header of the DBF file.
I also think that it could be solved by avoiding the repeated fwrite calls in
the double "for" loop. Vectorizing the code, as suggested in the "FIXME"
comment, is likely a more robust solution than introducing pauses at each
iteration.
N.B. I am using the latest shapewrite/read function from the mapping package
repo
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53899>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/