delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/28/18:45:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 28 Feb 2001 18:44:17 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Memory problem
Message-ID: <20010228184417.F5603@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
References: <230667FC62B4D311BBA90050DA41CFD759D3D9 AT ddipdc DOT ddi DOT nl>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <230667FC62B4D311BBA90050DA41CFD759D3D9@ddipdc.ddi.nl>; from p.boncz@datadistilleries.com on Wed, Feb 28, 2001 at 08:15:23PM +0100

On Wed, Feb 28, 2001 at 08:15:23PM +0100, Peter Boncz wrote:
>Christopher,
>
>Some applications like to make use of so-called "anonymous virtual memory"
>for allocating (huge) chunks of memory outside the malloc heap. In unix this
>functionality is usually available through mmap()-ing on the special file
>/dev/null or thourgh a special mmap() flag. In my application, I abstract
>this functionality is a small system-specific library that in my cygnus port
>actually directly uses VirtualAlloc().
>
>sorry for that.

I don't think this has any bearing whatsoever on what the user was doing.
He didn't mention that he was using any Windows functions.  I think that
it is likely that my pointer to "heap_chunk_in_mb" will probably solve
his problem if this actually turns out to be an out-of-memory condition.

If this is just a simple Windows program, however, maybe he should contact
the mingw list.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019