Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected #306

Open
littlefishna opened this issue Jul 5, 2024 · 0 comments
Labels
bug something broken P3 not needed for current cycle

Comments

@littlefishna
Copy link

littlefishna commented Jul 5, 2024

@app.callback(
    Output("XX", "data"),
    Input("ag_grid", "virtualRowData"),
    prevent_initial_call=True,
)
def demo(data):
    return YY

A small demo to indicate that if putting virtualRowData as Input, the memory usage of the website will always go higher without being collected. ( Assume the ag grid table is updated every 2 seconds)

I know it is not recommend to put it into Input, but sometimes it is useful to do so.

@littlefishna littlefishna changed the title virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected [BUG?]virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected Jul 5, 2024
littlefishna referenced this issue in holman57/Business-Intelligence-Dashboard Jul 10, 2024
littlefishna referenced this issue in dgutman/NeuroTK-Dash Jul 10, 2024
@gvwilson gvwilson assigned gvwilson and unassigned gvwilson Jul 27, 2024
@gvwilson gvwilson changed the title [BUG?]virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected \virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected Aug 13, 2024
@gvwilson gvwilson added bug something broken P3 not needed for current cycle labels Aug 13, 2024
@gvwilson gvwilson changed the title \virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected virtualRowData: if it is an Input in a callback, the memory usage of the website would always go up without collected Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P3 not needed for current cycle
Projects
None yet
Development

No branches or pull requests

2 participants