X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Wed, 25 Aug 2004 07:09:19 +0300
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-ID: <01c48a59$Blat.v2.2.2$70dbec40@zahav.net.il>
Content-Transfer-Encoding: 7BIT
Content-Type: text/plain; charset=ISO-8859-1
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2
In-reply-to: <8abf3e27.0408241251.15e47f03@posting.google.com>
	(apendzich AT plusnet DOT pl)
Subject: Re: Djgpp, allegro and large datafile
References: <8abf3e27 DOT 0408222350 DOT 41002bd4 AT posting DOT google DOT com> <01c48943$Blat.v2.2.2$33853ac0 AT zahav DOT net DOT il> <8abf3e27 DOT 0408241251 DOT 15e47f03 AT posting DOT google DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk

> From: apendzich AT plusnet DOT pl (Artur)
> Date: 24 Aug 2004 13:51:57 -0700
> 
> I have one more question: How large datafile can be?

If you read it all into memory, it can be as large as the available
DPMI memory (go32-v2 will tell you).  64MB is a safe limit that should
work on any system.

If you read the file sequentially or in small chunks, you should be
able to process any file smaller than 2GB.

> I was reading in manual somewhere that cwsdpmi's virtual memory
> depends on how much DOS memory is avaiable. Is that right?

No.  Please read chapter 15 of the DJGPP FAQ list, it has the gory
details.