Date: Wed, 22 Sep 1999 16:57:44 -0700 Message-ID: X-Priority: 3 (Normal) To: From: (Johnny Chan) Subject: DJGPP virtual memory X-Incognito-SN: 1587 X-Incognito-Version: 5.0.1.89 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Reply-To: djgpp-workers AT delorie DOT com Q: Is it possible to disable the virtual memory feature (swap file) in DJGPP? I wrote a program which will calloc() a 64MB memory. Of course, I dont have 64MB in my system. If I compile this program using DJGPP (rhide) in W98, the output program will fail during the run-time in W98. But if I compile this program using DJGPP (rhide) in DOS, the output program will run fine in DOS... Of course, the HDD runs and I assume it is swapping pages between HDD and RAM. Is it any way to disable the virtual memory here? what's the difference between compiling in DOS and W98 using DJGPP? Any idea? --jC