Welcome, Guest. Please login or register.
September 07, 2010, 08:17:30 am
Home Help Search Login Register
News: Registration disabled until we find cure for spam. In the meantime, feel free to email us your questions.

+  Excelsior Forums
|-+  Other Excelsior Products
| |-+  Native XDS-x86/XDS-C (Moderator: snowman)
| | |-+  Problem writing program using large data files under Windows XP
« previous next »
Pages: [1] Print
Author Topic: Problem writing program using large data files under Windows XP  (Read 1267 times)
stroy
Newbie
*
Posts: 3


« on: October 11, 2009, 06:07:30 am »

I have been trying for some time to write a program to process databases contained in structured ASCII text files.  The program (1) opens a standard Windows dialog box for the user to select a input file; (2) reads the input ASCII text file and generates an in-memory index; (3) uses the index to process the information various ways, with a dialog box showing the progress of the processing; (4) opens a standard Windows dialog box for the user to select a file (new or existing) into which to write ASCII file reports based on the processed index.  The program behaves exactly the same regardless of whether written in XDS Modula-2 or XDS Oberon, both under Windows XP.  I.e. it works fine, exactly as described above, for small data files, e.g. about 30 or 40 kByte.  For a large file, e.g. about 3 MByte, the program displays the input dialog box OK, the display of the in-process dialog box is erratic, and the call to the standard Windows dialog box to select an output file fails, with an error message instead.  Only the size of the input file, and the corresponding size of the in-memory index, is different.  I went from Modula-2 to Oberon to take advantage of memory garbage collection, but this does not seem to make ay difference.  I would appreciate any suggestion or advice on what to try next. 
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!