Skip to main content

One doc tagged with "memory leaks"

View all tags

Avoiding browser memory leaks

A memory leak is when the application keeps data in memory after it is no longer needed. In the browser UI, that usually means something still holds a reference to objects, DOM nodes, or subscriptions after a component is removed or a screen is closed—via closures, DOM references, or failing to clean up event listeners and subscriptions.