hi,
I've had another idea that might be causing problems with the
design program. To stop the program allocating and reallocating lots
of memory while loading the database, try the following:
in the file read_tbl.c at about line number 26 change
#define INIT_ALLOC 500
to
#define INIT_ALLOC 2000
This will cause the program to allocate enough space for the entire database at
startup. The table will never fill up and thus, it won't have to be
reallocated ever. By default the table is expanded 100 entries at a time. The
table ends up over 1700 entries long, so a dumb memory allocator is going to
desire enough space for 3500 entries which is going to come awfully close to
filling up the 640k the machine has available (after the space for the program
is accounted for, it will fill memory easily).
Pauli
Paul Dale | Internet/CSnet: [email removed]
Dept of Computer Science| Bitnet: [email removed]
Uni of Queensland | JANET: [email removed]
Australia, 4072 | EAN: [email removed]
| UUCP: [email removed]
f4e6g4Qh4++ | JUNET: [email removed]