Looking to start collecting what memory usage I can via logging with an eye towards establishing typical usage profiles for different users (i.e. app, reporting, etc.) and hopefully later gaining the ability to kill extreme outliers when they hit.
So, would the temp file size logged via log_temp_files have contributed to the process's (Linux) resident memory size while the query responsible was running?