delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/17/05:37:04

Message-ID: <3AB33D76.9AFAA2F@lps.u-psud.fr>
Date: Sat, 17 Mar 2001 11:33:26 +0100
From: taupin <taupin AT lps DOT u-psud DOT fr>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: A memory limit when you run command to get out of windows?
References: <0uggSQG00UjF83A2g=@andrew.cmu.edu> <4634-Sat17Mar2001095758+0200-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp AT delorie DOT com

Reading this I looked at my DOS properties and set DPMI to 65535 (the
maximum allowed) and then:

-------------------------------------------------     
go32/v2 version 2.0 built Dec 24 1999 17:46:57
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries
as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your
PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 34856 Kb
DPMI swap space available: 30040 Kb
--------------------------------------------------

Is that normal?

I suppose that DPMI is allocated 65536 Kb, but divided into SWAP and
active. Am I right?


Eli Zaretskii wrote:
> 
> > From: James W Sager Iii <sager+@andrew.cmu.edu>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 16 Mar 2001 21:10:36 -0500
> >
> > I've recently been getting an error when I allocate too much memory
> > inside Djgpp that causes a crash.
> >
> > Is there a memory limit on DOS when you run command to exit windows?
> 
> If you rn DJGPP programs from a DOS session on Windows, the limit is
> whatever DPMI memory does Windows let the DOS box use.  Running
> go32-v2 without arguments should print the answer.
> 
> Also, what do you mean by ``when you run command to exit windows''?

-- 

------------------------------------------------------------------------
  Daniel Taupin, 91400 ORSAY - France
  E-mail= mailto:taupin AT lps DOT u-psud DOT fr
  Home/fax: (33)1.60.10.26.44. Work: (33)1.69.15.60.79, fax
(33)1.69.15.60.86, 

------------------------------------------------------------------------

- Raw text -


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