View memory usage of a running process

Tag(s):

@ECHO OFF
:INFINITE_LOOP
 
PING 1.1.1.1 -n 1 -w 60000 >NUL
echo %DATE% %TIME% >> %2
tasklist | find "%1" >> %2
ECHO.>>%2
 
GOTO :INFINITE_LOOP