www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/15/08:47:03

From: nikki AT gameboutique DOT co (nikki)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with malloc in djgpp?
Date: 15 Mar 1997 08:05:46 GMT
Organization: GameBoutique Ltd.
Lines: 13
Message-ID: <5gdl8q$g0p@bore.pipex.net>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970313130450 DOT 6426C-100000 AT is>
<5gbio4$874$1 AT nargun DOT cc DOT uq DOT edu DOT au>
NNTP-Posting-Host: www.gameboutique.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> The only thing I can't figure out is "test 16"... How does a 16MB
> allocation fit in *LESS* than 16MB of virtual memory?  Can anyone shed any
> light on this?

have you tried calloc rather than malloc? only i found that remaining_memory
was giving unreliable results until i actually *did* something with the memory :)

regards,
nik

-- 
Graham Tootell           
nikki AT gameboutique DOT com  

- Raw text -


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