LBRY Helper (Renderer) excessive memory usage after several days of uptime
Bug
I just noticed today my lbry-desktop app was consuming 6GB+ memory. This inhibits keeping the thing running for long periods when not watching videos. Being able to run it for long periods helps with the health of the data network.
To Reproduce Steps to reproduce the behavior:
- Start up app.
- Keep it running for days, while watching one or two videos per day.
- Monitor memory consumption.
Expected behavior Memory consumption should be more-or-less flat, and < 1GB.
Screenshots

System Configuration
MacOS 12.4

{ "jsonrpc": "2.0", "result": { "build": "release", "lbrynet_version": "0.107.2", "os_release": "21.5.0", "os_system": "Darwin", "platform": "Darwin-21.5.0-x86_64-i386-64bit", "processor": "i386", "python_version": "3.7.13", "version": "0.107.2" } }
Additional context
I did watch half of one video that was 5.5GB total size today. However, when I switched away to another video, memory usage did not go down. CPU usage by the app was minimal at the time I took the screenshot.
I just looked at the logs, and I can infer that it was up for ~5 days.
Checked today, and it is stable at 6.3-6.4GB. I will watch what happens on restart.
On initial startup:
