www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/13/09:19:42

Message-Id: <34BB6919.6D1BF1AC@lps.u-psud.fr>
Date: Tue, 13 Jan 1998 15:16:09 +0200
From: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>
Mime-Version: 1.0
To: DJGPP List <djgpp AT delorie DOT com>
Subject: Help wanted

As you may have notices, I have memory problems with DJGPP (in fact perl5004_02=perl.exe). Under
Win95, it crashes with "Out of memory", which means that the malloc() failed (This happens with
scripts handling large strings or hundreds of kilobytes).

Two points:
 1. The given perl.exe has NOT the debug option, so that the -Dm execution parameter is rejected,
 2. I have 32Mbyte memory and, with the same memory, the perl script runs in the Win3.11 DOS window.

Questions:
a- Does DJGPP (V2) use virtual memory? (not disabled in my Win95)
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.
c- BTW, is there a perl command to check either the amount of memory used or free
at any moment?


--
-------------------------------------------------------------------------
  Daniel Taupin, Physique des Solides, Univ. Paris-Sud, 91405 ORSAY
  E-mail : mailto:taupin AT lps DOT u-psud DOT fr
  Tél: (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