intiface / intiface-desktop

DEPRECATED - USE INTIFACE CENTRAL - Desktop GUI App for Intiface Service Usage
https://intiface.com/central
Other
56 stars 7 forks source link

Massive memory leak in "Devices" panel #129

Closed tilda closed 3 years ago

tilda commented 3 years ago

Hello! I've come here to write about an issue with the new Playground replacement.

I have a Xbox controller connected to my PC to use with Buttplug/Intiface. When entering the Devices panel, the application almost shows no signs of responding, and also a massive memory leak (see image below):

image

Also, attempting to drag the sliders has very noticeable lag.

My guess for this issue existing would be that due to the massive amount of steps exposed, it draws a lot of elements related to the vibration sliders. Using the devtools profiler, it says that there is around 29(!) seconds of blocking time (out of ~45 seconds recording).

qdot commented 3 years ago

Oh. Oops. That'd do it heh. Yay 16-bit scalars!

I'll top us out at 100 steps and get this into the patch release most likely happening this weekend, thanks for filing this!