From: Rik Blok Newsgroups: comp.os.msdos.djgpp Subject: Re: Virtual Memory porblems running DJGPP under Win95 Date: Thu, 26 Mar 1998 13:41:06 -0800 Organization: Lynx Internet Lines: 44 Message-ID: <351ACB72.4EE70E8D@physics.ubc.ca> References: <3519A71B DOT D5E77E21 AT mail DOT hitel DOT net> NNTP-Posting-Host: 207.230.231.198 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Have you tried manually adjusting the amount of DPMI memory available to Rhide (or whatever shell you are using)? Win95 only allocates up to 16MB by default, but you can override it so it uses up to almost 64MB. Visit my page at http://www.physics.ubc.ca/~blok/TipsnTricks/win95.html#dpmi for a detailed explanation of how to do this. - Rik Ahn Ki-yung wrote: > > I'm using DJGPP with RHIDE(1.4b) under WINDOWS95. > Recently I deleted version 2.7.2 and I've installed gcc280b.zip, > gpp280bzip, lgpp280b.zip. I'm studying STL and the ANSI/ISO C++ Draft > Standard. > Almost of it works well. But the "string" class does not work well. > Here is a code that compiler does not compile under windows system. > > // stlstydy.cc > > #include > > #include > > #include > > > > void main () > > { > > map< string , int > phone_list; > > } > > When I compile it, there comes a messege in a message window in RHIDE. > > Compiling stlstudy.cc > > c:/djgpp/lang/cxx/stl_tree.h<486> Error: virtual memory exhausted > > there were some errors > > I found a way to use this "string" class. I restarted the computer > with DOS mode and compiled it. Then it does not complan with virtual > memory. I think it conflicts with > some of windows memory. > But I have more than 100Mb free Hard Disk! Why is vertual memory > exhasted? Can't I make DJGPP compile STL under Windos95 ? -- Rik Blok Department of Physics and Astronomy, University of British Columbia, Canada http://www.physics.ubc.ca/~blok/