delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/29/11:59:37

Date: Fri, 29 Jul 94 21:40:04 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: watersm1_at_kapiti02 AT kapiti DOT co DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: djgpp memory requirements

   From: watersm1_at_kapiti02 AT kapiti DOT co DOT uk

	I have used djgpp to port CVS, RCS and diff to DOS, but to get the 
	programs to run requires 550k of free conventional memory. This I 
	assume is because CVS spawns a chain of programs. For example,
	the cvs update operation spawns:

		   cvs -> rcsmerge -> diff3 -> diff

	Does the above command result in 4 memory resident copies of go32 
	(Even though the rest of the program is swapped out ) ?

Yes, it does, but 570KB is the estimate I would have come up with.
This is historically a problem with recursive makes, as well.

	Does anyone have any ideas for reducing memory requirements ?

Not now, although you could write real mode versions that swap all of
themselves out (eg for cvs).  In version 2.0, there will be no
extender.  Protected mode will be provided via DPMI.  But... some DPMI
hosts (eg, QDPMI) require (reportedly) big (100KB+) buffers down in
conventional memory.  So choose your host well.
    Also, DJ is not yet predicting when there will be a public release
of 2.0.  But there is an ALPHA release in //ftp.cygnus.com/pub/dj, and
you might be able to tweak that into doing the job for you.

+-----------------------------------------------------------------------+
|                           Stephen Turnbull                            |
|     University of Tsukuba, Institute of Socio-Economic Planning       |
|          Tennodai 1-chome 1--1, Tsukuba, Ibaraki 305 JAPAN            |
|        Phone:  +81 (298) 53-5091     Fax:  +81 (298) 55-3849          |
|               Email:  turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp                 |
|                                                                       |
|                Founder and CEO, Skinny Boy Associates                 |
|               Mechanism Design and Social Engineering                 |
| REAL solutions to REAL problems of REAL people in REAL time!  REALLY. |
|                      Phone:  +81 (298) 56-2703                        |
+-----------------------------------------------------------------------+

- Raw text -


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