From: "Hooman Katirai" To: Subject: DPMI with physical memory > 256 MB Date: Tue, 21 Jul 1998 17:24:54 -0700 Message-ID: <000501bdb507$26d195b0$1901030a@WS-hkatirai.netpartners.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Importance: Normal In-Reply-To: <35B51B64.96909508@cs.com> Precedence: bulk I will be writing an application shortly that requires > 256 MB of memory -- probably around 512 MB of physical + some swap. Does anyone know of a DPMI manager compatible with DJGPP, and preferably free, that can be used for this application? Thanks, Hooman -----Original Message----- From: John M. Aldrich [mailto:fighteer AT cs DOT com] Sent: Tuesday, July 21, 1998 3:51 PM To: djgpp AT delorie DOT com Subject: Re: help! vitural memory Ching-kuang Kuo wrote: > > I have a simple c program for simulation but use lots of arrays. I > figure out that the program crashes because of incifficnent memory. I > follow the FAQs and change the MS-DOS memory to the maximum value 65535 > but still not enough. I personally believe the program needs 100 M byte. I > know many experienced programmer, like you, use DJGPP and write much > bigger projects than my simple one. Could you tell me how to allocate more > memory for DJGPP? > Besides, I got cwsdpmi from internet but don't know how to use it, > could it be useful? The limitation is in Windows 95's DPMI host, which only allows a maximum of 64 MB to DOS programs. cwsdpmi is a free DPMI host written for DJGPP that runs in plain DOS (without Windows resident) and provides up to 512 MB (256 physical + 256 virtual) in the latest version. To use it, however, you _must_ run from plain DOS; as long as Win95's DPMI is resident cwsdpmi can't be loaded. cwsdpmi should be installed like any other DJGPP package. DJGPP programs will automatically search for and run cwsdpmi.exe if no other DPMI server is present, as long as it's in the PATH or in the same directory as the program. -- --------------------------------------------------------------------- | John M. Aldrich | "Always listen to experts. They'll | | aka Fighteer I | tell you what can't be done, and why.| | mailto:fighteer AT cs DOT com | Then do it." | | http://www.cs.com/fighteer/| - Lazarus Long | ---------------------------------------------------------------------