VOGONS


Lack of memory?

Topic actions

First post, by CapitalDan

User metadata
Rank Newbie
Rank
Newbie

Have been playing Championship Manager 97/98 using DosBox and generally getting on fine, but now I get to a certain point and it quits out.
The message says "This error usually occurs when attempting to run the application with very little memory available, if this is the case rebooting your machine in DOS mode may help"

Any idea how to fix it, and can you reboot in dosbox? Thanks.

Reply 1 of 1, by TeaRex

User metadata
Rank Member
Rank
Member

The command

mem

will show you how much memory is free inside DOSBox.

Generally, DOSBox has more free conventional memory than almost any real DOS machine. So IF there is really a lack of memory (and the error doesn't occur because of something else), it's going to be a lack of EMS or XMS memory. Make sure you set memsize=, xms= and ems= values in your dosbox configuration file to something sensible. Note that having too high memsize can also cause trouble with some programs that simply don't expect that much memory to be free. memsize=4 works great for most pre-circa-1993, memsize=16 for most post-1993 DOS stuff.

For a few programs (mostly older stuff, up to 1990 or so), you will need to actually reduce conventional memory size. use

C:\progdir>LOADFIX progname.exe

instead of plain

C:\progdir>progname

tearex