delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/30/13:25:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 30 Jun 2004 12:23:02 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: Dan Hatton <dan DOT hatton AT btinternet DOT com>
cc: Tim Prince <tprince AT computer DOT org>, cygwin AT cygwin DOT com
Subject: Re: Cygwin Memory Allocation and heap_chunk_in_mb
In-Reply-To: <Pine.CYG.4.58.0406301631490.2268@ws3-mirp.geol.ucl.ac.uk>
Message-ID: <Pine.CYG.4.58.0406301213030.4988@fordpc.vss.fsi.com>
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0406301444280 DOT 2112 AT ws3-mirp DOT geol DOT ucl DOT ac DOT uk> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040630070530 DOT 01f29c70 AT imap DOT myrealbox DOT com> <Pine DOT CYG DOT 4 DOT 58 DOT 0406301631490 DOT 2268 AT ws3-mirp DOT geol DOT ucl DOT ac DOT uk>
MIME-Version: 1.0
X-IsSubscribed: yes

On Wed, 30 Jun 2004, Dan Hatton wrote:

> On Wed, 30 Jun 2004, Tim Prince wrote:
>
> > cygwin doesn't emulate a 64-bit OS.  Did you try setting up XP with /3GB to
> > see whether that would give another 1 GB, or check the archives for any
> > reports on such an attempt?
>
> I've now added " /3GB" to the end of the last line of my boot.ini, making
> the complete file:
>
> [boot loader]
> timeout=30
> default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
> [operating systems]
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /3GB
>
> Is that what I was supposed to do?  It's made no difference to the
> results either of max_memory, or of running my calculation.

That's only half of it.  You need to set the
IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the executable's COFF header.

See:

http://sources.redhat.com/ml/binutils/2004-05/msg00151.html

which is not yet in the Cygwin binutils release.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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