Skip to content

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

Description

@littlefishna
@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions