Dash & polars; RAM-use keeps increasing

I think you’re correct that the StackOverflow post is highlighting the root cause here. Unfortunately, if that’s the case there’s not much we can do on the Dash side to help (it seems most likely that this needs to be fixed in Polars).

My recommendation would be opening a ticket in the polo-rs/polars repository highlighting the memory leak issues of Polars in Flask (and therefore, Dash).

3 Likes