Q: I'm running in Windows 3.X DOS box, but DJGPP complains about
there not being enough DPMI memory, although virtual memory is enabled.
A: You must make sure the size of your Windows swap file can be at least 2 times the largest virtual memory size you need. Check if you have enough free disk space; if you do, run a defragger (Windows needs the swap file to be contiguous). The size of the swap file is normally limited by the "virtual = 4 times free physical" rule, but you can change that by inserting the line
[386Enh] section of your
SYSTEM.INI file. The
n is 4 by default, but can be set to be as large as 20.