syd711 / vpin-studio

Competition, table, and player management for VPins.
MIT License
28 stars 2 forks source link

[2.17.2] Remote Client Very High CPU usage with Previews Off #219

Closed Ltek closed 4 months ago

Ltek commented 4 months ago

Video Previews = Off... just noticed with 2.17.2; after a bit I my CPU fan run like crazy and I see supe high usage. See below My PC is a AMD Ryzen 7 7735HS with 32GB. It has a lot of horsepower.

image

soon as I close the client...

image

syd711 commented 4 months ago

Yes, it's a known issue. I assume you had the video preview on at least once. The problem is that the Java media framework does not dispose the video players correctly (sometimes). That explains the high CPU usage, even when the preview is shut off. I have no fix for this yet.

Ltek commented 4 months ago

gotcha :)

syd711 commented 4 months ago

Improved documenation: https://github.com/syd711/vpin-studio/wiki/Troubleshooting#why-does-the-studio-use-so-much-cpu