You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are issues with memory leakage in our Dash application. Specifically, each time users navigate away from the home page, we observe a memory leak of about 15MB. Objects are getting detached but not fully removed, and each time the user changes tabs, new objects are created while the old ones are not removed.
replace the result of pip list | grep dash below
dash==2.17.0
gunicorn==20.0.4
pandas>=1.1.5
if frontend related, tell us your Browser, Version and OS
Browser chrome
Describe the bug
Navigation: We use dash.register_page() to add a new page to our application. Users navigate away from the home page using dcc.Location and dcc.Link
Component Setup: The home page layout includes an ag-Grid component within a dcc.Tabs component.
Callbacks: A callback renders content dynamically based on the selected tab within dcc.Tabs.
Expected behavior
Remove detached objects
Screenshots
The text was updated successfully, but these errors were encountered:
gvwilson
changed the title
[BUG] Memory Leakage When Navigating Away from Home Page with dash.register_page()
Memory Leakage When Navigating Away from Home Page with dash.register_page()
Nov 15, 2024
Describe your context
There are issues with memory leakage in our Dash application. Specifically, each time users navigate away from the home page, we observe a memory leak of about 15MB. Objects are getting detached but not fully removed, and each time the user changes tabs, new objects are created while the old ones are not removed.
pip list | grep dash
belowDescribe the bug
Expected behavior
Remove detached objects
Screenshots
The text was updated successfully, but these errors were encountered: