delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/09/04:04:25

Date: Sat, 09 Dec 2000 10:57:14 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: skb AT xmission DOT com (Scott Brown)
Message-Id: <9003-Sat09Dec2000105714+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: djgpp AT delorie DOT com
In-reply-to: <3a317bf7.700964551@198.60.22.3> (skb@xmission.com)
Subject: Re: How much allocated memory?
References: <3a317bf7 DOT 700964551 AT 198 DOT 60 DOT 22 DOT 3>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: skb AT xmission DOT com (Scott Brown)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 09 Dec 2000 02:16:06 GMT
> 
> Is there a way to find out how much memory my program has allocated
> via malloc() at any given instant?

Yes and no.  See section 15.2 of the FAQ for more insight and advice.

> I am interested in analyzing some new routines for memory leaks.

I suggest to use YAMD for that, it is much easier than to reinvent the
wheel.

- Raw text -


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