delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/13/15:48:30

From: "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help wanted
Date: Tue, 13 Jan 1998 14:53:47 -0600
Organization: Cornell University
Lines: 31
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <34BBD45B.690D@cornell.edu>
References: <m0xs4yh-000S2WC AT inti DOT gov DOT ar> <34BBA49B DOT 24466173 AT lps DOT u-psud DOT fr>
Reply-To: sinan DOT unur AT cornell DOT edu
NNTP-Posting-Host: 128
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Daniel Taupin wrote:
> > > b- Should I change the parameter/system/memory options which by default are all AUTO (EMS, XMS,
> > > DPMI). Itried to force XMS and (another time) DPMI to fixed high options, but the memory crash still
> > > occurs.
> > Change it to 64Mb of DPMI.
> 
> Great, it works! Just a question: should I leave the others XMS, EMS 
> to "Auto" or are these specifications non exclusive (i.e. maxima)?

i hope this teaches you that you should not immediately start making
statements such as "since perl for djgpp has important memory management
problems" etc. this is a problem of windows 95, it does not provide an
adequate amount of dpmi memory to dos applications by default. of
course, when you got a memory problem, you could have typed

c:\>go32-v2 

to get information about the total memory perl was able to see in the
dos window you were running it (as opposed to the total memory you have
installed on your machine), and posted this information which would have
enabled someone to see your problem sooner rather than thinking they
cannot do anything about this because they know nothing about perl
(that's what i thought.) people put in a lot of effort in to making
these things available to us, and i find it ungrateful to say the least
when others start jumping up and down shouting "bug!!!" with the first
problem. yes it is a bug. but it is a bug in windows 95.

in any case, i would recommend setting dpmi to 65535, ems to none, xms
to auto, initial environment to 2048.

  -- Sinan

- Raw text -


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