class

Azu::DevelopmentTools::MemoryLeakDetector

Inherits Reference < Object

Memory leak detection utilities

Constructors

Instance methods

analyze_leak(start_snapshot : MemorySnapshot | Nil = nil, end_snapshot : MemorySnapshot | Nil = nil) : LeakAnalysis

Analyze memory usage between two snapshots

Source
recent_snapshots(limit : Int32 = 100) : Array(MemorySnapshot)

Get recent snapshots

Source
report

Generate memory report

Source
start_monitoring(interval : Time::Span = 30.seconds)

Start memory monitoring

Source
stop_monitoring

Stop memory monitoring

Source
take_snapshot

Take a memory snapshot

Source

Nested types