www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/13/13:04:41

Message-Id: <m0xs4yh-000S2WC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Daniel Taupin <taupin AT lps DOT u-psud DOT fr>, djgpp AT delorie DOT com
Date: Tue, 13 Jan 1998 15:03:15 +0000
MIME-Version: 1.0
Subject: Re: Help wanted
In-reply-to: <34BB6919.6D1BF1AC@lps.u-psud.fr>

Daniel Taupin <taupin AT lps DOT u-psud DOT fr> wrote:

> 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)
Yes, but remmember to set the DPMI memory to 65535 in the preferences of your 
MS-DOS direct access icon.

> 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.

> c- BTW, is there a perl command to check either the amount of memory used or free
> at any moment?
No idea.

Additionally you can recompile the sources with the last djgpp alpha, it have a 
new malloc that wastes less memory. Of course you must understand that IS 
alpha.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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