Date: Mon, 29 Apr 1996 16:11:04 -0400 (EDT) From: Justin Ward To: djgpp AT delorie DOT com Subject: Re: giving back dpmi memory?? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > If by ``unused dpmi memory'' you mean the memory not used by the parent > DJGPP program, then that should be automatic: DPMI host usually only > takes what it currently needs and leaves the rest free. If you want to > free *all* of the XMS (meaning to swap the parent completely out of RAM), > that could be harder and even depend on the particular DPMI host that you > use. AFAIK, Windows will swap parts of the parent when it needs more > memory, but I'm unsure about other DPMI hosts. > All I know is that other programs can't find free XMS/EMS memory. I'm using cwsdpmi. When I spawn the dos program "mem", every byte of memory (conventional, upper, and extended) is counted as used. When I try to run win (3.11) it swaps CONSTANTLY. When I try to run other programs which are 16-bit real mode that don't swap, and do depend on XMS or EMS, it complains that there isn't enough free memory and I should uninstall some drivers or buy more ram. Justin