Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <4.3.1.2.20020325102458.023094a8@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 25 Mar 2002 10:31:33 -0500
To: "G.Spagnuolo" <spanish@ieee.org>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: Cygwin/DJGPP and memory
Cc: cygwin@cygwin.com
In-Reply-To: <5.1.0.14.0.20020325154955.040e9e88@mail.unisa.it>
References: <4.3.1.2.20020325094719.0231ff60@pop.ma.ultranet.com>
 <5.1.0.14.0.20020325133529.00b0ca50@mail.unisa.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@rfk.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@rfk.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@ieee.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/

