Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

[Help]Failed to download a large file via

My code is attached below, very simple. I test the download function successfully with a small sample (1MB). However, I need to return a large file about 1 GB, it raise the Memory Error. What should I do ?

dbc.Button('Download', color='primary', id='btn_data',outline=True),
    Output("download_data", "data"),
    Input("btn_data", "n_clicks"),
def func(n_clicks):
    return dcc.send_file(