I have recently installed RoonBridge in a fresh Raspberry OS bullseye arm64 image. This is a recent upgrade of the traditional Raspberry OS for the 64 bit architecture. My problem is that that the client exhibits a memory leak, just by staying activated on the background.
So we can see this process starts at about 40Mbytes, then increases steadily. Again the Roon client is doing nothing, the rest of the system is also idle.
The memory leak rate is about 1.6 MBytes per minute.
Thank you for having a look at this issue, as it can kill a headless always-on system. Also please ask for additional details as you need.
Here are additional info about the memory leak I tried to gather with an utility called memleax. This is brute trace and I hope it can be helpful as a hint for you:
Welcome to our Roon Community. We’re sorry to see that it was a spot of trouble that prompted your visit. Can you please install the latest version of Roon Bridge to that device and see if it helps? We’ll be watching for your update. Thanks!
If I understand well the release notes, the RoonBridge hotfix has been delayed at the last minute. Indeed I can see my PC Core Roon has been updated to build 913, but the Roon Bridge is still build 880, and is labeled as the latest version. Then I will wait for the next release.
Unfortunately it is not possible to leave this that way. As as said earlier, in the end the memory leak will kill a headless always-on music client. BTW I did the test at home, after several days memory is full, music playback starts to stutter, and the system has to be powered cycled.
In order to help you reproduce the issue, I checked on my side that the memory leak is easily reproducible on a vanilla Raspberry Pi OS. I did the following: install latest 64 bits Raspberry Pi OS on a MicroSD card, update the distribution, and install RoonBridge. The memory leak starts immediately. Nothing more is added/removed from the Linux system, and there is no need to start a Roon Core.
Here are more details. Download and install latest Raspberry Pi OS Lite in 64 bits from here:
The memory leak issues were remedied for Roon all-in-one and Server in the newest build, let me check with the team about those problems in Roon Bridge. A new bridge build wasn’t included in the newest update.
Thank you for following up. Your report is currently with our QA team, they’ve been trying to replicate it without success. Have you noticed any specific steps that lead to this behavior that they can use for testing?
No unfortunately, no specific steps. As I said earlier, immediately after installation of the RoonBridge client on a vanilla Bullseye RapsberryPi OS (64bits), the memory leak starts immediately. Maybe it is something specific to my network environment, but I have no idea what it could be. If you want we can try a local debug session.
Could you reproduce the issue now ? Do you want that we do a test on my local network ? Can I enable some sort of debug log files and send them to you ?
Hi, @MusicPlayer_Silabs. Sorry for a late reply. I tried to reproduce this issue with the RPi device that I have locally, but this issue does not affect my setup. May I kindly ask you to follow the instructions described in this article and provide logs from your RoonBridge?
Go to /var/roon/RoonBridge folder on your RPi device
Convert the folder called Logs into a .zip archive