prompt

Memory Leak Detection Plan

Outline systematic debugging approach for suspected memory leaks in production.

Updated June 2026
The prompt
Our {{runtime}} service ({{framework}}) shows {{leak_indicator}} over {{observation_window}}. Process: {{current_heap_mb}}MB, growth rate: {{growth_rate}}MB/day.

Create a debugging plan:
1. Profiling strategy (heap snapshots, GC logs, etc.)
2. Instrumentation points to add
3. Correlation checks (request volume, features enabled)
4. Isolation strategy (reproduce in staging)
5. Success metrics & timeline

Include specific CLI commands and log formats.
Did it work? Rate this prompt

Variables

Runtime (Node.js/JVM/Python)
Framework name
Symptom (e.g., heap grows 50MB/day)
Time period (e.g., 7 days)
Current heap size (MB)
Memory growth rate (MB/day)

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code