delorie.com/archives/browse.cgi | search |
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 |
To: | wakamiya <wakamiya AT osaka DOT email DOT ne DOT jp> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: malloc problem |
References: | <3A469A1C DOT D6958E6D AT osaka DOT email DOT ne DOT jp> |
Mime-Version: | 1.0 (generated by tm-edit 7.106) |
From: | Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> |
Date: | 25 Dec 2000 10:17:41 +0900 |
In-Reply-To: | wakamiya's message of Mon, 25 Dec 2000 09:51:40 +0900 |
Message-ID: | <s1svgs98fka.fsf@jaist.ac.jp> |
Lines: | 38 |
X-Mailer: | Gnus v5.3/Emacs 19.34 |
--Multipart_Mon_Dec_25_10:17:41_2000-1 Content-Type: text/plain; charset=US-ASCII >>> On Mon, 25 Dec 2000 09:51:40 +0900 >>> wakamiya <wakamiya AT osaka DOT email DOT ne DOT jp> said: > I use Cygwin 1.1.6 with WindowsNT Japanese Edition and > I have had a problem on malloc. > As I get a memory block larger than 0x8000000 using malloc, > malloc returns NULL pointer. > How do I get a memory block larger than 0x8000000 ? > Or is it a Windows limitation ? It is a configurable limitation of the Cygwin DLL. You can control it through a registry entry. After you incorporate the following registry file, you can allocate a memory block up to 256MB. Take care that this entry isn't available until you terminate all applications of Cygwin. --Multipart_Mon_Dec_25_10:17:41_2000-1 Content-Type: text/plain; charset=US-ASCII REGEDIT4 [HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin] "heap_chunk_in_mb"=dword:00000100 --Multipart_Mon_Dec_25_10:17:41_2000-1 Content-Type: text/plain; charset=US-ASCII ____ | AIST Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp> | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology --Multipart_Mon_Dec_25_10:17:41_2000-1 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple --Multipart_Mon_Dec_25_10:17:41_2000-1--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |