delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/08/21:36:30

From: skb AT xmission DOT com (Scott Brown)
Newsgroups: comp.os.msdos.djgpp
Subject: How much allocated memory?
Date: Sat, 09 Dec 2000 02:16:06 GMT
Organization: (none)
Lines: 8
Message-ID: <3a317bf7.700964551@198.60.22.3>
NNTP-Posting-Host: slc825.modem.xmission.com
X-Trace: news.xmission.com 976328758 5730 166.70.6.63 (9 Dec 2000 02:25:58 GMT)
X-Complaints-To: abuse AT xmission DOT com
NNTP-Posting-Date: 9 Dec 2000 02:25:58 GMT
X-No-Archive: Yes
X-Newsreader: Forte Free Agent 1.21/32.243
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Is there a way to find out how much memory my program has allocated
via malloc() at any given instant?  I am interested in analyzing some
new routines for memory leaks.  It would be handy if I could compare
my program's assumed memory consumption to what's really happening in
the heap.

Thanks,
-Scott

- Raw text -


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