memory leak
A memory leak retains memory beyond its useful lifetime.
Use this when Memory grows after repeatedly opening and closing a feature.
without the term
“The app's memory keeps going up the longer it runs, and it gets slower until it crashes. Opening and closing the editor seems to make it worse. Can you find what's holding on to memory?”
with the term · How do you ask a model for memory leak?
Investigate this memory growth with repeated open/close cycles. Identify retained owners and verify memory stabilizes after the fix.
What is memory leak?
Memory that is no longer needed stays reachable, through an old listener, a timer, a cache, or a closure, so the garbage collector can't free it and usage keeps growing.
Why does memory leak matter when vibe coding?
A feature can appear closed while listeners, tasks, or caches still retain its data.
How do you do memory leak?
Reproduce the lifecycle repeatedly and compare retained objects or allocations.
What goes wrong with memory leak?
Declaring a leak fixed because garbage collection temporarily lowered one sample.