delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/04/20:40:35

Xref: news2.mv.net comp.os.msdos.djgpp:3434
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and malloc()
Date: Sat, 04 May 1996 12:32:01 CDT
Organization: Rice University, Houston, Texas
Lines: 9
Message-ID: <318b9491.sandmann@clio.rice.edu>
References: <4m8q7t$jgf AT news DOT nevada DOT edu>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> The second setup has HIMEM in the config.
> When I run go32-v2, I get 590k free.  When I run my C program that uses 
> Malloc() to allocate 1.6megs, it works, but I get lots of disk swapping.  

I will guess that you also have EMM386 loaded in this configuration (which
is the only way the numbers make sense).  Your configuration of EMM386
is wrong and needs to be changed.  Adding NOEMS would help, or adding a
number which would provide more than 256K VCPI memory.  A better memory
manager or upgraded DOS is the best solution.

- Raw text -


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