LBRY Helper (Renderer) excessive memory usage after several days of uptime #7673

Open
opened 2022-08-11 22:32:46 +02:00 by moodyjon · 3 comments
moodyjon commented 2022-08-11 22:32:46 +02:00 (Migrated from github.com)

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:

  1. Start up app.
  2. Keep it running for days, while watching one or two videos per day.
  3. Monitor memory consumption.

Expected behavior
Memory consumption should be more-or-less flat, and < 1GB.

Screenshots

image

System Configuration

MacOS 12.4

image

{
"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.

<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. - App releases: https://github.com/lbryio/lbry-desktop/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on live chat at https://chat.lbry.com --> **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: 1. Start up app. 2. Keep it running for days, while watching one or two videos per day. 3. Monitor memory consumption. **Expected behavior** Memory consumption should be more-or-less flat, and < 1GB. **Screenshots** ![image](https://user-images.githubusercontent.com/103143855/184235492-cf62c03b-7ee1-4d91-80af-959e5b52464f.png) **System Configuration** MacOS 12.4 <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279' --data '{"method":"version"}' and include the full output --> ![image](https://user-images.githubusercontent.com/103143855/184236165-807fe74f-b328-491d-8759-bd7d206363e0.png) { "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.
moodyjon commented 2022-08-11 22:36:59 +02:00 (Migrated from github.com)

I just looked at the logs, and I can infer that it was up for ~5 days.

I just looked at the logs, and I can infer that it was up for ~5 days.
moodyjon commented 2022-08-12 19:33:45 +02:00 (Migrated from github.com)

Checked today, and it is stable at 6.3-6.4GB. I will watch what happens on restart.

Checked today, and it is stable at 6.3-6.4GB. I will watch what happens on restart.
moodyjon commented 2022-08-12 19:47:17 +02:00 (Migrated from github.com)

On initial startup:

image

On initial startup: ![image](https://user-images.githubusercontent.com/103143855/184414728-2f6e2d39-3f23-4b42-88b3-d401df3711ab.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7673
No description provided.