BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Memory consumption timeline?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
John Herbster
Guest





PostPosted: Tue Apr 04, 2006 2:03 pm    Post subject: Memory consumption timeline? Reply with quote



Can the new memory manager give a time-line of memory
consumption? For example, the total memory amount of
memory allocated at each second into the Delphi IDE's
operation?

TIA, JohnH
Back to top
Pierre le Riche
Guest





PostPosted: Tue Apr 04, 2006 9:03 pm    Post subject: Re: Memory consumption timeline? Reply with quote



Hi John,

Quote:
Can the new memory manager give a time-line of memory
consumption? For example, the total memory amount of
memory allocated at each second into the Delphi IDE's
operation?

There are three functions that will give the memory consumption stats at
that particular moment in time (GetHeapStatus, GetMemoryManagerState and
GetMemoryMap), but it does not keep any history. If you want to plot the
memory consumption over time you would have to call one of these functions
at regular intervals and save the results yourself.

Regards,
Pierre
Back to top
John Herbster
Guest





PostPosted: Tue Apr 04, 2006 10:03 pm    Post subject: Re: Memory consumption timeline? Reply with quote



"Pierre le Riche" <pleriche (AT) hotmail (DOT) com> wrote

Quote:
Can the new memory manager give a time-line of memory
consumption? For example, the total memory amount of
memory allocated at each second into the Delphi IDE's
operation?

There are three functions that will give the memory consumption stats at
that particular moment in time (GetHeapStatus,
GetMemoryManagerState and GetMemoryMap), but it does
not keep any history. If you want to plot the memory consumption
over time you would have to call one of these functions at regular
intervals and save the results yourself.

Pierre, Thank you. This sounds great.
It is not for me I am trying to help someone else.
Rgds, JohnH
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.