UI crashes going from component to workflow root

Description:
I have a “medium-small” size workflow and while working on it for some time (going in and out components) and sepcifically when going from a component to the root, the UI crashes I see the unresponsive popup to save or wait for the UI. When I wait, the UI never becomes responsive agian but I can save and restart AP.

Not sure if this is relevant but I open and edit the workflow from my C-Hub space, but no save or Hub interaction was done since opening till the crash.

Steps to reproduce:

  1. Have a “usual”-sized workflow with some components
  2. Keep working on it for a “usual” amount of time and in a “usual” way. (while some users could keep working on a workflow for hours or even days, here a few minutes would suffice (for me it usually happens in less than an hour)
  3. While working, go in and out the components but at a very “usual” rate. Don’t need for any stress testing or trying to prove how fast you can work with KNIME.

Actual results:
Going in and out of components becomes slower and slower (to load the canvas) till it crashes.

Expected results:
The performance doens’t change and UI doens’t crash.

Attachments:
Thread dump:
Thread dump AP MUI crash.txt (118.2 KB)

My usual medium-small size workflow:
DataApp - KNIME Support DataApp.knwf (675.9 KB)

OS:
Windows 11

AP version:
5.8.1 LTS RC3 (I first saw and reported it in 5.8.0)

Created ticket ID: QA-1469

Internal ticket ID: NXT-4263
Summary: Frontend memory leak when switching between workflows
Fix version(s): 5.8.1, 5.9.0, 5.10.0