CasparCG / client

Client software primarily used with the CasparCG Server software for audio and video playout, to control graphics and recording, but it can also be used for other tasks within television broadcast.
https://casparcg.com
GNU General Public License v3.0
281 stars 98 forks source link

Growing memory and processor usage #123

Open krzyc opened 9 years ago

krzyc commented 9 years ago

In newest build (http://builds.casparcg.com/CasparCG_Client_2.0/index.php?dir=CasparCG_Client_2.0_build_21d30d4491ac1c8acfbcc3f65b2f8dbaa3e4ca25%2F), even if I am not doing anything and put Client in background, after a while memory and processor usage are growing (about 1 MB/sec) and after a while Client is not usable at all - almost unresponsive. I am using Server 2.0.7 beta2.

ghost commented 9 years ago

Windows 7 / 8? Can you reproduce it? Are you playing anything on the CasparCG server? Is OSC input enabled? How big is your database? (look under HOME_DIR/.CasparCG/Client)

krzyc commented 9 years ago

Windows 7 64bit. Yes - it works same every time. Now I tested without Server running and everything is the same. OSC enabled and disabled - same. Database about 9MB. But after deleting database it looks that everything is all right. :) Thanks for suggestion.

Julusian commented 6 years ago

I managed to reproduce this a number of times in the past few hours. But cannot get any concrete str when trying. Client 2.0.8 with Server 2.1dev on Windows 10 Database size is 900KB (deleted it a couple of hours ago to make sure). I am playing only a solid colour, and TESTPATTERNS/1080_TEST, but I am killing the server a lot and starting it again. I am killing it via visual studio not letting it stop in case that matters. After this happens a bunch of times (10 or so I think) the memory usage starts climbing whilst it is reconnecting as well as causing the program to freeze. A couple of reconnects later memory usage has hit stupid numbers (10gb+)