1.0.0 • Published 3 years ago
max-mem v1.0.0
max-mem
Purpose
Measures the maximum memory usage of any command. max-mem checks the memory usage of the command every 100 milliseconds and reports the peak "resident set size" of the command when it exits, including any child processes. This is helpful in tracking down the cause of out-of-memory errors in Webpack builds and other expensive operations.
max-mem does for memory what time does for execution time.
Install
npm install -g max-memUsage
max-mem npm run build
[Regular output appears here]
Max memory usage: 800MBCredits
max-mem was created to facilitate our work on ApostropheCMS.
1.0.0
3 years ago