delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/09/10:09:06

Sender: hoppe AT TU-Berlin DOT DE
Message-ID: <33732FE9.5A68@math.tu-berlin.de>
Date: Fri, 09 May 1997 16:08:41 +0200
From: Andreas Hoppe <hoppe AT math DOT tu-berlin DOT de>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Virtual Memory Exhaust for GCC under Win95

Hello!

I wanted to post a problem but I solved it in the meantime but I
consider
it interesting anyway - at least I costed me several hours.

I want to compile a large program system with a P100 8MB under Win95.
Frequently the error:

Virtual memory exhaust

occured although there is plenty of free disk space and the environment
varaible TMPDIR is properly set. A call of go32-v2.exe told me

7096 KB DPMI memory available
2032 KB free virtual memory space

For some obscure reason go32.exe gives a different picture although the
result
didn't seem to be relevant (and confusing for me).

5080 KB DPMI memory available
247388 KB Swap space available

I haven't replaced the Win95DPMI as DPMI provider <because 
I needed the LFN features of the DOS box under Win95> and I don't
know how to do it. 

The solution of the problem was as follows:
In the Properties section for the MS-DOS box in the section Memory
in the input field DPMI was "automatic" (which is the default). I
entered 16384 there and the compilation was possible.

Cheers
Urizano
-- 
                       _\|/_
                      ( O - )
-------------------oOOo-(_)-oOOo---------------------------------------
 Urizano                           http://www.math.tu-berlin.de/~hoppe/
 AndreasHoppe      .ooOO   OOoo.   hoppe AT math DOT tu-berlin DOT de
                   (   )   (   )
--------------------\ (-----) /----------------------------------------
                     \_)   (_/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019