Please point me to the easiest way to find out how much RAM current process is used.
Platform: Windows 10 Language: С++ Library: Win API
- I know about HeapWalk/HeapSize but may be something more simple exists?
- Calling the external process (wmi or tasklist) is very slow.
With win API GetProcessMemoryInfo you can obtain a process memory information,for example:
As well as you can profile your app without adding any additional code profiling with Visual Studio
And with Process Explorer you can obtains any system process detailed information.