From: kunst AT prl DOT philips DOT nl Subject: Re: help! virtual memory exhausted To: victor AT mechatro1 DOT Berkeley DOT EDU (Victor K. Chu) Date: Tue, 13 Sep 1994 09:39:44 +0100 (METDST) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list) Victor Chu writes: > Help!!! I have got a trouble with DJGPP. > When I compiled one of my program, I got the following message: > MAKE Version 3.7 Copyright (c) 1987, 1993 Borland International > DPMI: Not enough memory (0x00340000 bytes). > I am using a 486 PC with 8 MB RAM and 80 MB free hard drive space. > > Does any one know if it is a limitation of my PC or a problem > with my installation? Any comment would be very appreciated. The problem is with Borland Make. Borland Make is a very greedy program, it grabs all available DPMI memory, thus leaving nothing for poor old GO32 ! You can do two things to avoid this: (1) Add the following line to your AUTOEXEC.BAT file: SET DPMIMEM=MAXMEM 1024 (or a similar command, see Borland Manual) (2) Use the MAKE program that comes with DJGPP. Make sure that \DJGPP\BIN is earlier in your PATH than \BORLANDC\BIN ! I would advice to switch to GNU make (option 2). Regards, Pieter Kunst (kunst AT prl DOT philips DOT nl)