-
Notifications
You must be signed in to change notification settings - Fork 489
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
Memory usage continues to increase. #1223
Comments
Should this be added to #969? |
@wangzm5773 could you please clarify what process "eats" the memory: Python, |
Hmm.. maybe..? |
Geez, is it 1.4 GB? |
Yes. When running the main3 function, the memory usage will continue to increase rapidly until a MemoryError is raised. |
I've been able to fix this issue. The fix is coming in 0.5.0 release due to today/tomorrow. Good case, thanks :) |
* Line chart initial commit * More chart classes * LineChart Python model * Use custom flutter_svg library * aspect_ratio added to all controls * AspectRatio on Flutter side * Changed flutter_svg reference to flet-fixes branch * Charts moved to flet-core package * Remove --allow-releaseinfo-change flag * LineChart Python classes * LineChart stub control added * LineChart prototype * LineChart complete * LineChart datapoint tooltips * LineChart.on_chart_event * Fix tests * shadow and dash_pattern * spot indicators for line chart * Dot marker style * Line chart point * Point gradients * Show below/above lines * selected below line * selected points on non-interactive charts * Linechart adjusted for "monthly sales" example * pip install --upgrade pip * cutoff Y * point_line_start/end * Renamings for BarChart * BarChart data model python and dart * BarChart first steps * BarChart tooltip and touch event * PieChart * remove show_title from piechart * remove interactive and border from piechart * Added shadow to TextStyle * Automatic sizing of line and bar charts * Bump Flet version to 0.5.0, update changelog * Bump Pyodide 0.23 Closes flet-dev#1241 * Updated changelog with Pyodide 0.23 * Fixed memory leak when deleting orphaned controls Fix flet-dev#1223 * Remove all page references * Reliably remove closed sessions from memory * Changelog updated with memory leak fixes Fix flet-dev#1223, Fix flet-dev#969 * Cleaup imports
Memory usage continues to increase although the old controls have been removed.
Code example to reproduce the issue:
Flet version (
pip show flet
):Operating system: Windows 11
The text was updated successfully, but these errors were encountered: