From: tmurez AT nospam DOT planete DOT net (Thibaut Murez) Newsgroups: comp.os.msdos.djgpp Subject: Re: Large malloc causes GPF Date: Sun, 8 Nov 1998 14:23:09 +0100 Organization: Planete.net, France Lines: 9 Message-ID: References: <7245e2$1lv$1 AT newsreader4 DOT core DOT theplanet DOT net> NNTP-Posting-Host: numeris-bdx-1.planete.net X-Newsreader: Anawave Gravity v2.00 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <7245e2$1lv$1 AT newsreader4 DOT core DOT theplanet DOT net>, dosuser AT hotmail DOT com says... > 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. > Help! > Have you checked that the memory was successfully allocated ? if you haven't try, the gpf might only come from that