I use Visual C++ to write a native C++ application. How to know the maximum memory it will use during its execution?

Thanks