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
Re: Get maximum memory usage of My App
How about the Task Manager? Or Process Explorer?
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?
Re: Get maximum memory usage of My App
Quote:
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.
Re: Get maximum memory usage of My App
Memory Management Functions on MSDN may be a good start.
Re: Get maximum memory usage of My App
Quote:
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.