Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Daniel Taupin , djgpp AT delorie DOT com Date: Tue, 13 Jan 1998 15:03:15 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Help wanted In-reply-to: <34BB6919.6D1BF1AC@lps.u-psud.fr> Precedence: bulk Daniel Taupin 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