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: <5gbio4$874$1 AT nargun DOT cc DOT uq DOT edu DOT au> NNTP-Posting-Host: www.gameboutique.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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