Message-Id: <34BB6919.6D1BF1AC@lps.u-psud.fr> Date: Tue, 13 Jan 1998 15:16:09 +0200 From: Daniel Taupin Mime-Version: 1.0 To: DJGPP List Subject: Help wanted Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk 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 -------------------------------------------------------------------------