 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Herbster Guest
|
Posted: Tue Apr 04, 2006 2:03 pm Post subject: Memory consumption timeline? |
|
|
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
|
Posted: Tue Apr 04, 2006 9:03 pm Post subject: Re: Memory consumption timeline? |
|
|
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
|
Posted: Tue Apr 04, 2006 10:03 pm Post subject: Re: Memory consumption timeline? |
|
|
"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 |
|
 |
|
|
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
|
|