Page 1 of 1

m_mapDst

Posted: Fri Nov 16, 2007 10:11 pm
by Scirocco
anyone seen an "m_mapDst too small" error before? How do I get rid of it?

Posted: Fri Nov 16, 2007 10:33 pm
by Bob Hansen
Not familiar, but suspect it may be related to a mapping program with a reference to DaylightSavingsTime (DST).

How is this related to WildEdit?
What are you doing when it occurs?
Is the message from Widows or some other program?

Wild Edit error

Posted: Fri Nov 16, 2007 11:00 pm
by Scirocco
Running WildEdit against a directory with a single 3GB delimited text file, attempting a simple single char replace with "nothing". Here is the log:

=== BEGIN REPLACE COMMAND ===
{
Time: 2007-Nov-16 14:54:21
Search Pattern: þ
Replacement Format:
Character Encoding: windows-1252
Root folder: T:\ReDo3\(edited)
File Filter: *.dat.txt
Regular Expression: false
Replacement Format: false
Match Case: false
Match Words: false
Search Subfolders: false
}
T:/ReDo3/(edited)/Review.dat: m_mapDst too small
Number of files searched: 1
Number of files modified: 0
Total changes made: 0
=== END REPLACE COMMAND ===

Posted: Sat Nov 17, 2007 6:03 am
by Bob Hansen
Until someone who know more can help, I am just offering comments to help trigger some thoughts.

I no longer think this is Map and DST related, I am now thinking that the Dst stands for Destination instead.

It looks like the b]þ[/b] character you are searcing for may be a "non-standard" character. Do you need to use a different Character Encoding value?

Is the File Filter correct? Maybe need a space or delimiter?

My comments above are probably not correct, but may help steer you to the correct solution. Good luck.

Posted: Mon Nov 19, 2007 9:44 am
by ben_josephs
Scirocco is using windows-1252 (WinLatin1, the default in English-speaking countries), in which þ is the character with value 0xFE. It's a lower-case thorn, used every day in mediaeval England and modern Iceland. There's nothing non-standard about it.

I don't use WildEdit, so I haven't got a licence for it, and I can't try it out on big files.

But I wouldn't use a GUI application for such a straightforward edit. Using the unixish utility sed, for example, you can do it with a one-line command:

sed -e s/þ// oldfile > newfile

(Be sure you use an 8-bit clean version of sed; all modern versions should be 8-bit clean).

On this 1.8 GHz lap-top that takes 10 - 15 min on a 3 GB file.

Edit: Corrected units!