Does the program make use of multi-core, multi-threaded processors?
I had two designers open, one dev, one production, and the dev app hung after I tried to open a fourth binding dialog.
At the time of the hang, it was using 1.7G RAM, and 0.1% CPU, but nothing would respond to any mouse commands. After hard-closing, and closing the production designer, I reopened the dev designer and noticed it used up to 100% CPU while loading.
I just noticed that 11 chromium.exe
processes are loaded, so I suppose that means utilizing multi-threading. My processor has 6 total cores and 12 threads, according to the Intel specs. i7-10750H
Checking the Event Viewer, I see a log for Windows Error Reporting: java.exe
and then the Application Hang: java.exe
.
If the Designer is failing to respond, this almost always means something is blocking the event dispatch thread. The Designer runs on Java Swing, which like most GUI frameworks in the world relies on single threaded updates to the property model. Thus, if some blocking operation is happening that consumes that main thread - you're toast, the process will "hang" (not respond to events) because the thread is otherwise busy.
If that's happening while you're interacting with the Perspective workspace, it's a programming error on our part (vs if it happens because of some script you authored in Vision, it's your problem).
Is the view that you were opening the binding dialog on very flat and wide? As in, hundreds or more components at the same nesting depth in the component tree? Then it might be a known issue we're tracking internally as IGN-8217.
I believe I had three views open (Perspective, not Vision), and the most components on one view was about 20, one or two layers nested in four separate containers. Only had three binding windows open at the time I opened the fourth for the hang. No long running scripts, just event scripts that shouldn't have been firing at the time, because I was in design mode.
This is the only time I've seen it happen, though I have seen some lag issues with more than one designer open in the past.