Optionaloptions: PromiseMonitorOptionsCheck if monitoring has detected critical issues
True if aborted due to critical memory pressure
Start monitoring
Total number of files to process
Stop monitoring (success)
Update progress (called by ParallelExecutor)
Number of files processed so far
Real-time memory monitor for Promise-based parallelism
Safety net for medium-complexity projects (score 35-65) that run in Promise mode, to prevent V8 heap exhaustion.
Monitors heap usage and projects peak memory to prevent crashes. Aborts execution if projected peak exceeds critical threshold (85%).
Algorithm:
Thresholds:
Deprecated
The WorkerPool analysis path is deprecated since 1.1 and will be removed in 2.0; the MCP scans run in a scan worker instead.