Electron freeze after running for a week

I use electron in a surveillance monitoring panel. My panel contains 12 fullHD IP Camera. My server run Debian Buster, 32 cores, 128 GB and 4 NVidia video card. But after running for a week, the electron freezes. I then need to restart the application. It does not display errors.
I monitor the server with Nagios. And I’m consuming less than 30% of memory and CPU.