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 Message-Id: <4.3.1.2.20020325102458.023094a8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 25 Mar 2002 10:31:33 -0500 To: "G.Spagnuolo" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Cygwin/DJGPP and memory Cc: cygwin AT cygwin DOT com In-Reply-To: <5.1.0.14.0.20020325154955.040e9e88@mail.unisa.it> References: <4 DOT 3 DOT 1 DOT 2 DOT 20020325094719 DOT 0231ff60 AT pop DOT ma DOT ultranet DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020325133529 DOT 00b0ca50 AT mail DOT unisa DOT it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" There is no imposed limit on memory in Cygwin beyond heap_chunk_in_mb (which defaults to 128MB). You should be able to allocate either the amount indicated by heap_chunk_in_mb or total available memory, whichever is less. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 09:54 AM 3/25/2002, G.Spagnuolo wrote: >Thanks for your reply. >So, the total memory is the only limit. I'm reading about a mysterious 256MB limit of cygwin: what about it? >With respect to DJGPP, by cygwin I am able to use the virtual memory. Is this true? >Thanks again > >gs > > >At 09.48 25/03/2002 -0500, you wrote: >>At 08:54 AM 3/25/2002, G.Spagnuolo wrote: >> >Dear all, >> >I'm browsing the mailing list archive about the limits on memory allocation under cygwin, but I've not yet a complete picture. >> >What is the real limit when I use new[] in a C++ program? The one I set in windows2000 register heap_chunk_in_mb? >> >> >>Yep! Assuming, of course, that you have that much total memory (physical + >>swap) space available for use. >> >> >> >>Larry Hall lhall AT rfk DOT com >>RFK Partners, Inc. http://www.rfk.com >>838 Washington Street (508) 893-9779 - RFK Office >>Holliston, MA 01746 (508) 893-9889 - FAX > >-- >Dr. Giovanni Spagnuolo, Ph.D. >Assistant Professor >University of Salerno >Dipartimento di Ingegneria dell'Informazione ed Ingegneria Elettrica (D.I.I.I.E.) >Via Ponte Don Melillo >84084 Fisciano - Salerno - Italy >phone: +39 089 964258 >fax: +39 089 964218 >e-mail: spanish AT ieee DOT org > >"You can tell whether a man is clever by his answers. >You can tell whether a man is wise by his questions." >Naguib Mahfouz > > >-- >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/ -- 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/