Sender: "Rolf Campbell" Message-ID: <37B42D00.19687FA5@americasm01.nt.com> Date: Fri, 13 Aug 1999 10:34:41 -0400 From: "Rolf Campbell" Organization: Nortel Networks X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/712) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Subject: Re: Memory usage question! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Orig: Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > I am using > > DJGPP, and I have 96M RAM. DJGPP lets me allocate up to about 150Meg. > > However, my hard drive is 6 gig, and I see no reason I couldn't allocate even > > more, up to 1 gig or so. How do I do this? I am using new and delete. > If you run on Windows (as I suspect you are), then the amount of > virtual memory your programs can use is under Windows control; DJGPP > cannot do anything about it. Try changing the DPMI memory settings of > the DOS box (through Propert Sheets, under Memory). Note that for > large settings you need to actually manually type the value into the > dialog box, since the values that Windows lets you choose from are > usually small. But, that won't let you choose more than 65Megs (even if you type it manually). So if you have >65Megs of RAM, it is usually better to set it to 'auto', which I've seen use >100Megs of DPMI memory. -Rolf Campbell (39)3-6318