delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/16/22:16:38

From: rizzodarat AT aol DOT com (RizzoDaRat)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fucking Virtual Memory
Lines: 25
Message-ID: <1998061619180100.PAA22465@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Date: 16 Jun 1998 19:18:01 GMT
Organization: AOL http://www.aol.com
References: <358662F3 DOT ABD AT dillinger DOT de>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>If I start the DOS-box an only try to compile hello.c in directory
>samples I get after about 30 seconds the "... not enought virtual memory
>.." message. I tried to increase the DPMI size to 65535 but it didn't
>work. 'mem' tells me
>
>655360 Bytes for DOS
>537168 Bytes for executable
>4194304 Bytes for EMS
>15570944 Bytes for XMS
>
>I read that many other people have had also problems with virtual
>memory. Why it can't be changed ??

I got Virtual Memory problems when I tried to compile something that I later
found out was including a file that included the original file, thus generating
infinite code...

I don't see how that could be a problem with a simple hello.c but when I did
this it took about 30 seconds for the messages to show up.

I don't know how much this will help but adding a -v to GCC will cause it to
display each of the subprograms that the compiler is using and then you can see
exactly which program it runs out of memory on.

-Seth Kingsley

- Raw text -


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