Forums Niryo One Troubleshooting NiryoOne Studio memory leak Reply To: NiryoOne Studio memory leak

Post count: 105

Since upgrading arm and Studio to version 2.2 I have noticed significant lag between arm movement and display updates in Studio when running sequences in Blockley editor.

NiryoOneStudio.exe creates three threads the main thread takes 100% of its CPU core while idle. I presume this thread is responsible for maintaining the GUI by reading some packets and updating joint positions. This should not be 100% busy when performing so few functions (is Electron event driven? This is looks like infinite polling behavior without wait())

The Blockley XML loops through the 22 moves 10 times. At first the editor updates the cursor position after each move, the simulated robot graphic moves synchronously with the arm. After the second loop through the sequence there is an obvious lag between arm movements and screen updates. By the 4th pass the display is updating only every third move.