delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/16/07:04:21

To: Michael Feldman <mfeldman AT seas DOT gwu DOT edu>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP List)
Subject: Re: memory utilization?
Date: Fri, 16 Sep 94 10:17:33 +0200
From: eliz AT is DOT elta DOT co DOT il

> Error: not enough memory to run go32!
>
> A "mem" command executed from the inner shell gives:
>
> 655360 bytes total conventional memory
> 655360 bytes available to MS-DOS
> 173744 largest executable program size (sure, the editor is loaded)
> Looks like my extra 7meg is not being used. How do I make this happen?
> 

DJGPP eats up about 130K of *conventional* memory for each DJGPP-compiled
program.  The extended and virtual memory are only used for the protected-
mode code of the program you wrote, but go32 (the extender) runs as DOS
program, and as such uses conventional memory below 640K.

> BTW - after doing setupgpp, before invoking our editor, 
>
> 478672 bytes largest executable program size

This is very low number.  Try to nake it larger by moving things to the
upper memory (with Memmaker or QEMM's Optimize).  You should be able to
invoke at least 2 or even 3 DJGPP programs one from inside the other,
otherwise you won't be able to even run Make.

	Eli Zaretskii

- Raw text -


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