🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #205

Re: Which API to know the memory occupied by my applicaton

#205
From: Darko Miletic
Date: Thu, 03 Jul 2008 13:24
10 lines
1265 bytes
Zhan Weiming wrote:
> Hi,
> 
> I want to know at a specific point how much memory are occupied by my 
> application, or alternatively, how much free memory are available.
> 
> Is there API can do this?

Take a look at Process Status API
http://msdn.microsoft.com/en-us/library/ms684884(VS.85).aspx
Technical Details
Message-ID: <486cd326$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail
References: <486ca1f2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,51b83394552286f9
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 03 Jul 2008 10:24:57 -0300
From: Darko Miletic <kiklop@fibertel.com.ar>
Reply-To: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Which API to know the memory occupied by my applicaton
References: <486ca1f2@newsgroups.borland.com>
In-Reply-To: <486ca1f2@newsgroups.borland.com>
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.49.157.166
Message-ID: <486cd326$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1215091494 200.49.157.166 (3 Jul 2008 06:24:54 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail