Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Cc: cygwin AT cygwin DOT com X-Accept-Language: de, en X-Priority: 3 (Normal) references: From: "Fabrizio Impagnatiello" MIME-Version: 1.0 subject: Re: Malloc array size limit To: "Ronald Landheer-Cieslak" content-type: text/plain; charset="iso-8859-1" date: Tue, 04 Mar 2003 15:22:32 +0100 Message-Id: <20030304142233.2F60D9FC70@mail.roma.alespazio.it> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h24EODs14472 Thanks a lot. I tried. Sorry, but the suggestion to define the heap_chunk key in Windows registry did not work. My application globally allocates about 560 Mbyte memory but no single data structure can be larger than 128 MB. IT is compiled with gcc 3.2-3 under cygwin 1.3.20-1 environment. Nevertheless, if the run-time path is set to the cygwin1.dll version 1.3.12 I can run any array sized program (no 384 MB limit!) without using any heap statement!! So I believe that there is a bug in cygwin DLL since version 1.3.13. If you have any other suggestion, Welcome!! Bye from Italy > See if this helps > http://cygwin.com/cygwin-ug-net/setup-maxmem.html > > rlc > > On Tue, 4 Mar 2003, Fabrizio Impagnatiello wrote: > > > I experienced run-time array memory allocation failure using cygwin1.dll > > versions 1.3.14, 1.3.17, 1.3.18, 1.3.19, 1.3.20. > > This trouble does not reveals using 1.3.12. > > > > In particular the largest allocable array (from both gcc and g77) size is > > limited to about 128 MBytes. > > > > Christopher Faylor states that "Doug Lea malloc "was introduced in version > > 1.3.13 for all malloc operations (see what's new). Is this new malloc > > appropriate ?? > > > > Fabrizio Impagnatiello > > Alenia Spazio > > Rome - Italy > > > > > > ---- Alenia Spazio S.p.A. ---- > > COMUNICAZIONE IMPORTANTE > > Il presente email č destinato solo al/i destinatario/i sopra indicato/i. > > Puņ riguardare un messaggio confidenziale e contenere informazioni e dati di > > natura RISERVATA O CLASSIFICATA. Non č consentita la sua lettura indebita, > > la sua duplicazione o la sua divulgazione. Le opinioni dell'autore di questo > > email non sono necessariamente le opinioni di Alenia Spazio S.p.A. > > Nulla di quanto contenuto in questo email puņ costituire un contratto > > ovvero una obbligazione vincolante per Alenia Spazio S.p.A. > > Nel caso doveste ricevere il presente email per errore, siete > > cortesemente pregati di distruggere la Vostra copia e di contattarci > > telefonicamente o a mezzo email o facsimile. Grazie. > > > > IMPORTANT NOTICE > > This email is intended only for the use of the abovementioned > > addressee(s). > > It is confidential and may contain legally PRIVILEGED OR CLASSIFIED > > information and data. Unauthorized reading, copying, disclosure or use is > > strictly prohibited. The views of the author hereof may not necessarily > > constitute the views of Alenia Spazio S.p.A. > > Nothing in this email shall bind Alenia Spazio S.p.A. in any contract or > > obligation. > > If you received this email/facsimile through an error, please destroy your > > copy and telephone or email/fax us immediately. Thank you. > > > > ---- Alenia Spazio S.p.A. ---- COMUNICAZIONE IMPORTANTE Il presente email č destinato solo al/i destinatario/i sopra indicato/i. Puņ riguardare un messaggio confidenziale e contenere informazioni e dati di natura RISERVATA O CLASSIFICATA. Non č consentita la sua lettura indebita, la sua duplicazione o la sua divulgazione. Le opinioni dell'autore di questo email non sono necessariamente le opinioni di Alenia Spazio S.p.A. Nulla di quanto contenuto in questo email puņ costituire un contratto ovvero una obbligazione vincolante per Alenia Spazio S.p.A. Nel caso doveste ricevere il presente email per errore, siete cortesemente pregati di distruggere la Vostra copia e di contattarci telefonicamente o a mezzo email o facsimile. Grazie. IMPORTANT NOTICE This email is intended only for the use of the abovementioned addressee(s). It is confidential and may contain legally PRIVILEGED OR CLASSIFIED information and data. Unauthorized reading, copying, disclosure or use is strictly prohibited. The views of the author hereof may not necessarily constitute the views of Alenia Spazio S.p.A. Nothing in this email shall bind Alenia Spazio S.p.A. in any contract or obligation. If you received this email/facsimile through an error, please destroy your copy and telephone or email/fax us immediately. Thank you. --  -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/