From: G DOT DegliEsposti AT ads DOT it To: "Igor Gnip" cc: djgpp AT delorie DOT com Message-ID: Date: Fri, 22 May 1998 09:27:40 +0200 Subject: Re: Virtual memory exhausted ? (600MB Free space) Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >Hello to everybody. I have just started using djgpp. Welcome :-) >Trying to compile allegro 3.0 (actualy palantir, multitasking kernel for >allegro) > >when I start make.exe (using "make -f makefile.dz") i get "virtual memory >exhausted" [...] >my question is: Is there some limit (with W95) to available DPMI memory ? Yes, win95 allows at most 64Mb of DPMI memory. cwsdpmi allows 128. You can setup DPMI memory in the "memory" tab in the dos box properties. Don't use "auto" because it is not sufficient. Put 65535 >(can I allocate 40MB of memory under win95 dos box ?, under CWSDPMI ???) Yes and No. win95 doesn't allow to alloc more than half the remaining space at once, so you can't malloc 40Mb but you can malloc 20 + 20 Mb. cwsdpmi has'n got this problem IIRC. >P.S. I prefer DOS, but it doesn't support long file names :((( You can have a look at Caldera DR OpenDos, it provides some multitasking and some lfn handling. I haven't lookad at caldera's site (www.caldera.com/dos) for some time, so I don't know exactly at what stage the compatibility with win95 lnf is, though. And also, it was free for personal use once, but I don't know now it still is. ciao Giacomo