Using the command prompt, how can i get the memory used when executing a .exe. For example, to find the time taken i can use a .bat file as follows:
@echo off
time < nul
Function.exe
time < nul
How can i do this for memory used?
Using the command prompt, how can i get the memory used when executing a .exe. For example, to find the time taken i can use a .bat file as follows:
@echo off
time < nul
Function.exe
time < nul
How can i do this for memory used?
Try this:
Output from the
mem
command (example):Btw. instead of
time <nul
you can usetime /t
.