How get the amount of memory a particular executable is using ?
I've tried to find an api, can't tell if the Process Extender would do it.
This does sounds like a job for the process extender. The function tGetProcInfo item 3.
Here is a sample that can be used to get the memory usage of a running script: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WIL~Extenders/Process~ID+Get~Mem~Usage~of~a~Running~script.txt