Article View: gnu.gcc.help
Article #51848DJGPP memory allocation
From: daniel lemon
Date: Tue, 23 Mar 1993 16:24
Date: Tue, 23 Mar 1993 16:24
11 lines
1042 bytes
1042 bytes
I'm trying to use DJGPP (GCC for DOS), and malloc () doesn't return NULL when out of memory; it just crashes or exits with "Fatal! Disk full writing to swap file", depending on the memory manager used. Our development is targeted for systems using EMM386. Using this memory manager, I have the additional problem that DJGPP ignores XMS memory. Has anyone come across these problems before? If so, is there a known fix? Help!
Technical Details
Message-ID:
<1993Mar23.162450.19997@mksol.dseg.ti.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!danielShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9659fd54a0557789,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-03-23 09:34:52 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!daniel From: daniel@mksol.dseg.ti.com (daniel lemon) Subject: DJGPP memory allocation Message-ID: <1993Mar23.162450.19997@mksol.dseg.ti.com> Summary: DJGPP malloc() doesn't return NULL when out of memory Keywords: DJGPP GCC MALLOC EMM386 Organization: Texas Instruments, Inc Date: Tue, 23 Mar 1993 16:24:50 GMT Lines: 12