Date: Sun, 8 Nov 1998 16:51:54 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Chris Jones cc: djgpp AT delorie DOT com Subject: Re: Large malloc causes GPF In-Reply-To: <7245e2$1lv$1@newsreader4.core.theplanet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sat, 7 Nov 1998, Chris Jones wrote: > Whenever I use malloc to allocate a large block of memory, for example 2 Mb, > subsequent calls to malloc (even for small amounts of memory) cause a > General Protection Fault. Please throw together a short test program which shows this problem and post the source here. 2MB is not considered to be ``large'' by DJGPP standards; I have seen programs that allocate considerably more than that and still can allocate memory after that.