-
April 21st, 2013, 08:48 PM
#1
Get maximum memory usage of My App
I use Visual C++ to write a native C++ application. How to know the maximum memory it will use during its execution?
Thanks
-
April 22nd, 2013, 01:06 AM
#2
Re: Get maximum memory usage of My App
How about the Task Manager? Or Process Explorer?
Victor Nijegorodov
-
April 22nd, 2013, 12:32 PM
#3
Re: Get maximum memory usage of My App
Yes, task manager can show the memory used by the my application in real time. However, since my app will run for 24 hours, it is impossible for me to look at the memory usage for all the time. That is the reason I want to find a tool to monitor and record the memory usage history if possible.
Does Process Explorer has such a feature? Is it a tool included in Visual Studio?
-
April 22nd, 2013, 12:38 PM
#4
Re: Get maximum memory usage of My App
Originally Posted by AlanCCC
I want to find a tool to monitor and record the memory usage history if possible.
Does Process Explorer has such a feature? Is it a tool included in Visual Studio?
Well, I gave you a link to Process Explorer. Did you miss this link?
And no, Process Explorer is NOT included in Visual Studio.
Last edited by VictorN; April 23rd, 2013 at 02:59 AM.
Victor Nijegorodov
-
April 22nd, 2013, 01:35 PM
#5
Re: Get maximum memory usage of My App
Memory Management Functions on MSDN may be a good start.
-
April 23rd, 2013, 05:38 AM
#6
Re: Get maximum memory usage of My App
Originally Posted by AlanCCC
Yes, task manager can show the memory used by the my application in real time. However, since my app will run for 24 hours, it is impossible for me to look at the memory usage for all the time. That is the reason I want to find a tool to monitor and record the memory usage history if possible.
Task manager can also show peak memory usage.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|