bind.memory.checker(app, max.mb, app.event = "FinishAnalysis", memory.event = "BloatedMemory")
check.memory
each time FinishAnalysis
is triggered.
(this will then trigger BloatedMemory if memory usage is above threshold).
Although the BloatedMemory event would now be triggered, unless a listener
is attached to *it* nothing special will happen.
(See autosignal.on.bloated.memory
for this.)
check.memory
, autosignal.on.bloated.memory