 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sticker Guest
|
Posted: Tue May 15, 2007 9:11 am Post subject: How to check the memory usage in VC |
|
|
My question is, I want my program A have the ability to know how much
memory is used by itself. So after it finishes certain function, it
can print the total memory usage of itself to screen.
I didn't rewrite new() and delete() operations and do not want to do
that. I am expecting some windows APIs to achieve this. I used VC+
+.net in windows.
Appreciate much for any help.
Sticker |
|
| Back to top |
|
 |
Ian Collins Guest
|
Posted: Tue May 15, 2007 9:11 am Post subject: Re: How to check the memory usage in VC |
|
|
Sticker wrote:
| Quote: | My question is, I want my program A have the ability to know how much
memory is used by itself. So after it finishes certain function, it
can print the total memory usage of itself to screen.
I didn't rewrite new() and delete() operations and do not want to do
that. I am expecting some windows APIs to achieve this. I used VC+
+.net in windows.
If you don't want the portable solution (your own new and delete), |
you'll have to ask on a windows group.
--
Ian Collins. |
|
| 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
|
|