@axiljs/memory
v0.3.1
Published
AxilJS memory leak detection, GC optimization, and monitoring
Maintainers
Readme
@axiljs/memory
Memory leak detection, automatic cleanup, GC optimization, and monitoring.
Part of the AxilJS ecosystem.
Install
npm install @axiljs/memoryUsage
import { MemoryMonitor, optimizer, memoryMiddleware } from '@axiljs/memory'
const monitor = new MemoryMonitor({
intervalMs: 30000,
warnThresholdPercent: 70,
criticalThresholdPercent: 85,
autoFix: true
})
monitor.start()
app.use(memoryMiddleware({ leakThresholdMb: 50 }))Full docs: github.com/SyntaxilitY/AxilJS
