Author |
Topic |
|
bone
10 Posts |
Posted - 04/27/2003 : 19:58:11
|
HELLO FORUM, I AM HAVING SOME PROBLEM WITH STARTING UP SUNEIDO.WHEN STARTING IT IS GOING TO suneido-rebuild and on accepting it to rebuild it comes up with a message saying.
Error during startup assertion failure:db.mmf-> mapsize()>mmf->size() (c:\Suneido\recover.cpp238)
Any help please? thanx in advance..................bone.
|
|
amckinlay
2492 Posts |
Posted - 04/28/2003 : 13:25:30
|
When Suneido starts up, it checks that the database was shut down properly. If it wasn't (e.g. Suneido crashed) then it automatically runs rebuild.
The error you are getting from rebuild indicates that rebuild was not able to create a large enough memory mapped file to rebuild into. This could either be because your database has grown too large (> 1 gb) or because your system is short of address space (not memory). To handle the address space problem you could try restarting windows and closing all other non-essential programs. Usually address space is more of an issue with older versions of Windows (95,98,ME).
If you notice your database getting large, it is a good idea to run "suneido -compact". You might want to get in the habit of running this weekly or monthly depending on usage.
Suneido is usually pretty good about crash recovery, but things like a power failure or a hard reset can cause the actual database file to be damaged, which Suneido can't really recover from. It's always a good idea to have backups, at least on your hard drive, but preferably somewhere else as well.
Andrew McKinlay Suneido Software |
|
|
bone
10 Posts |
Posted - 04/28/2003 : 15:57:49
|
thanks very much for that Andrew.i think i have to restart everything again if your tips cannot solve the problem.
|
|
|
amckinlay
2492 Posts |
Posted - 04/28/2003 : 20:21:03
|
Note: If you have rebuilt before, you may have a backup copy of the database - check in your directory.
Andrew McKinlay Suneido Software |
|
|
|
Topic |
|
|
|