forked from SWISDATA/processintel
ui: reduce the number of event log copies held per session #45
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ffrauenberger/ProcessIntel#45
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: improvement (medium for multi-user hosting)
Where
app/mining_algorithms/base_mining.py:16-146app/ui/base_algorithm_ui/base_algorithm_controller.py:188-223,:294-327app/ui/home_ui/home_controller.pyProblem
For a single session, the following can exist at the same time:
UploadedFile, in memory) for up to three uploaders (main, CSV→XES, XES→CSV);converted_csv_df,converted_csv_data,converted_xes_bytes);log,spm_filtered_log,node_frequency_filtered_log, two n×n matrices and algorithm-specific copies (e.g.filtered_login Inductive, populations in Genetic);graph_fixed_position), each holding a graphvizDigraph.With the 200 MB upload limit and several concurrent users, a single process can quickly run out of memory.
Short-term part of upstream GitHub issue SWISDATA/processintel#17 Update application to run with constant memory.
Fix
from
issues/PERF-009-session-memory-footprint.md(code analysis of commit6bcc646, 2026-10-03)