Memory Leak on "bluealsa" process #624
Replies: 3 comments 1 reply
-
Are you connecting and disconnecting the same device over and over again, or you've got more than one device? There are indeed some internal structures which are not release on disconnection (maybe you are seeing this thing), however, memory is allocated per-device and it's not a leak - memory is released when HCI interface is removed from the system (you can test it by restarting |
Beta Was this translation helpful? Give feedback.
-
Yes, I'm connecting and disconnecting the same device but it seems that the memory is not released. I have only one bluetooth device. I have tried to restart bluetoothd process but the memory occupied from bluealsa is not released. The only way to release bluealsa memory is to restart bluealsa service. I'm using bluealsa "rev335f48c-231019" version. Now I will try to build the master branch version of bluez-alsa and I let you know. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
-
I'm testing the latest version of bluez-alsa and I confirm that the memory not increase when I connecting/disconnecting bluetooth device. I have noticed that in the last version is needed to spiecified bluetoot profile to start "bluealsa" process (exapmle /usr/bin/bluealsa -p hfp-ag), meanwhile in the old versione is not requested. You can confirm it? |
Beta Was this translation helpful? Give feedback.
-
Hello Guys,
I'm testing "bluealsa" project on my embedded application and I have the following issue:
my bluetooth device (bluetooth headset) is already paired and trusted on "bluetoothd" daemon, when I power-on the bluetooth headset, after the automatically bluetooth connection, I see that the "bluealsa" memory increase and is never released, even when the bluetooth device is disconnected.
Each new connection increase bluealsa memory as shown in the attached figure.
If I restart the "bluealsa" process the memory is released.
Is there some advice on this issue? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions