Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: wakamiya 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) Content-Type: multipart/mixed; boundary="Multipart_Mon_Dec_25_10:17:41_2000-1" Content-Transfer-Encoding: 7bit From: Kazuhiro Fujieda 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: 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 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 | 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--