This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Malloc array size limit


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]