$REPORTMEMORY
–
Reporting for commands using memory above a threshold
$REPORTMEMORY
controls reporting of commands which use more memory than specified by this variable.
The value refers to kilobytes of the resident set size.
Links
BashSupport Pro is a Zsh IDE with support for $REPORTMEMORY – try it now!